<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- qopenglfunctions.cpp -->
  <title>QOpenGLFunctions Class | Qt GUI 5.14.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.14</a></td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QOpenGLFunctions</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.14.2 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QOpenGLFunctions Class</h1>
<!-- $$$QOpenGLFunctions-brief -->
<p>The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API. <a href="#details">More...</a></p>
<!-- @@@QOpenGLFunctions -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QOpenGLFunctions&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += gui</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qopenglextrafunctions.html">QOpenGLExtraFunctions</a></p>
</td></tr></table></div><p>This class was introduced in Qt 5.0.</p>
<ul>
<li><a href="qopenglfunctions-members.html">List of all members, including inherited members</a></li>
<li><a href="qopenglfunctions-obsolete.html">Obsolete members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#OpenGLFeature-enum">OpenGLFeature</a></b> { Multitexture, Shaders, Buffers, Framebuffers, BlendColor, &hellip;, MultipleRenderTargets }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#OpenGLFeature-enum">OpenGLFeatures</a></b></td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#QOpenGLFunctions-1">QOpenGLFunctions</a></b>(QOpenGLContext *<i>context</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#QOpenGLFunctions">QOpenGLFunctions</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#dtor.QOpenGLFunctions">~QOpenGLFunctions</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glActiveTexture">glActiveTexture</a></b>(GLenum <i>texture</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glAttachShader">glAttachShader</a></b>(GLuint <i>program</i>, GLuint <i>shader</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBindAttribLocation">glBindAttribLocation</a></b>(GLuint <i>program</i>, GLuint <i>index</i>, const char *<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBindBuffer">glBindBuffer</a></b>(GLenum <i>target</i>, GLuint <i>buffer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBindFramebuffer">glBindFramebuffer</a></b>(GLenum <i>target</i>, GLuint <i>framebuffer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBindRenderbuffer">glBindRenderbuffer</a></b>(GLenum <i>target</i>, GLuint <i>renderbuffer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBindTexture">glBindTexture</a></b>(GLenum <i>target</i>, GLuint <i>texture</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBlendColor">glBlendColor</a></b>(GLclampf <i>red</i>, GLclampf <i>green</i>, GLclampf <i>blue</i>, GLclampf <i>alpha</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBlendEquation">glBlendEquation</a></b>(GLenum <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBlendEquationSeparate">glBlendEquationSeparate</a></b>(GLenum <i>modeRGB</i>, GLenum <i>modeAlpha</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBlendFunc">glBlendFunc</a></b>(GLenum <i>sfactor</i>, GLenum <i>dfactor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBlendFuncSeparate">glBlendFuncSeparate</a></b>(GLenum <i>srcRGB</i>, GLenum <i>dstRGB</i>, GLenum <i>srcAlpha</i>, GLenum <i>dstAlpha</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBufferData">glBufferData</a></b>(GLenum <i>target</i>, qopengl_GLsizeiptr <i>size</i>, const void *<i>data</i>, GLenum <i>usage</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glBufferSubData">glBufferSubData</a></b>(GLenum <i>target</i>, qopengl_GLintptr <i>offset</i>, qopengl_GLsizeiptr <i>size</i>, const void *<i>data</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLenum </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCheckFramebufferStatus">glCheckFramebufferStatus</a></b>(GLenum <i>target</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glClear">glClear</a></b>(GLbitfield <i>mask</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glClearColor">glClearColor</a></b>(GLclampf <i>red</i>, GLclampf <i>green</i>, GLclampf <i>blue</i>, GLclampf <i>alpha</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glClearDepthf">glClearDepthf</a></b>(GLclampf <i>depth</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glClearStencil">glClearStencil</a></b>(GLint <i>s</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glColorMask">glColorMask</a></b>(GLboolean <i>red</i>, GLboolean <i>green</i>, GLboolean <i>blue</i>, GLboolean <i>alpha</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCompileShader">glCompileShader</a></b>(GLuint <i>shader</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCompressedTexImage2D">glCompressedTexImage2D</a></b>(GLenum <i>target</i>, GLint <i>level</i>, GLenum <i>internalformat</i>, GLsizei <i>width</i>, GLsizei <i>height</i>, GLint <i>border</i>, GLsizei <i>imageSize</i>, const void *<i>data</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCompressedTexSubImage2D">glCompressedTexSubImage2D</a></b>(GLenum <i>target</i>, GLint <i>level</i>, GLint <i>xoffset</i>, GLint <i>yoffset</i>, GLsizei <i>width</i>, GLsizei <i>height</i>, GLenum <i>format</i>, GLsizei <i>imageSize</i>, const void *<i>data</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCopyTexImage2D">glCopyTexImage2D</a></b>(GLenum <i>target</i>, GLint <i>level</i>, GLenum <i>internalformat</i>, GLint <i>x</i>, GLint <i>y</i>, GLsizei <i>width</i>, GLsizei <i>height</i>, GLint <i>border</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCopyTexSubImage2D">glCopyTexSubImage2D</a></b>(GLenum <i>target</i>, GLint <i>level</i>, GLint <i>xoffset</i>, GLint <i>yoffset</i>, GLint <i>x</i>, GLint <i>y</i>, GLsizei <i>width</i>, GLsizei <i>height</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLuint </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCreateProgram">glCreateProgram</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLuint </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCreateShader">glCreateShader</a></b>(GLenum <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glCullFace">glCullFace</a></b>(GLenum <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDeleteBuffers">glDeleteBuffers</a></b>(GLsizei <i>n</i>, const GLuint *<i>buffers</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDeleteFramebuffers">glDeleteFramebuffers</a></b>(GLsizei <i>n</i>, const GLuint *<i>framebuffers</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDeleteProgram">glDeleteProgram</a></b>(GLuint <i>program</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDeleteRenderbuffers">glDeleteRenderbuffers</a></b>(GLsizei <i>n</i>, const GLuint *<i>renderbuffers</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDeleteShader">glDeleteShader</a></b>(GLuint <i>shader</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDeleteTextures">glDeleteTextures</a></b>(GLsizei <i>n</i>, const GLuint *<i>textures</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDepthFunc">glDepthFunc</a></b>(GLenum <i>func</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDepthMask">glDepthMask</a></b>(GLboolean <i>flag</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDepthRangef">glDepthRangef</a></b>(GLclampf <i>zNear</i>, GLclampf <i>zFar</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDetachShader">glDetachShader</a></b>(GLuint <i>program</i>, GLuint <i>shader</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDisable">glDisable</a></b>(GLenum <i>cap</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDisableVertexAttribArray">glDisableVertexAttribArray</a></b>(GLuint <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDrawArrays">glDrawArrays</a></b>(GLenum <i>mode</i>, GLint <i>first</i>, GLsizei <i>count</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glDrawElements">glDrawElements</a></b>(GLenum <i>mode</i>, GLsizei <i>count</i>, GLenum <i>type</i>, const GLvoid *<i>indices</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glEnable">glEnable</a></b>(GLenum <i>cap</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glEnableVertexAttribArray">glEnableVertexAttribArray</a></b>(GLuint <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glFinish">glFinish</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glFlush">glFlush</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glFramebufferRenderbuffer">glFramebufferRenderbuffer</a></b>(GLenum <i>target</i>, GLenum <i>attachment</i>, GLenum <i>renderbuffertarget</i>, GLuint <i>renderbuffer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glFramebufferTexture2D">glFramebufferTexture2D</a></b>(GLenum <i>target</i>, GLenum <i>attachment</i>, GLenum <i>textarget</i>, GLuint <i>texture</i>, GLint <i>level</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glFrontFace">glFrontFace</a></b>(GLenum <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGenBuffers">glGenBuffers</a></b>(GLsizei <i>n</i>, GLuint *<i>buffers</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGenFramebuffers">glGenFramebuffers</a></b>(GLsizei <i>n</i>, GLuint *<i>framebuffers</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGenRenderbuffers">glGenRenderbuffers</a></b>(GLsizei <i>n</i>, GLuint *<i>renderbuffers</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGenTextures">glGenTextures</a></b>(GLsizei <i>n</i>, GLuint *<i>textures</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGenerateMipmap">glGenerateMipmap</a></b>(GLenum <i>target</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetActiveAttrib">glGetActiveAttrib</a></b>(GLuint <i>program</i>, GLuint <i>index</i>, GLsizei <i>bufsize</i>, GLsizei *<i>length</i>, GLint *<i>size</i>, GLenum *<i>type</i>, char *<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetActiveUniform">glGetActiveUniform</a></b>(GLuint <i>program</i>, GLuint <i>index</i>, GLsizei <i>bufsize</i>, GLsizei *<i>length</i>, GLint *<i>size</i>, GLenum *<i>type</i>, char *<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetAttachedShaders">glGetAttachedShaders</a></b>(GLuint <i>program</i>, GLsizei <i>maxcount</i>, GLsizei *<i>count</i>, GLuint *<i>shaders</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLint </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetAttribLocation">glGetAttribLocation</a></b>(GLuint <i>program</i>, const char *<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetBooleanv">glGetBooleanv</a></b>(GLenum <i>pname</i>, GLboolean *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetBufferParameteriv">glGetBufferParameteriv</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLenum </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetError">glGetError</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetFloatv">glGetFloatv</a></b>(GLenum <i>pname</i>, GLfloat *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetFramebufferAttachmentParameteriv">glGetFramebufferAttachmentParameteriv</a></b>(GLenum <i>target</i>, GLenum <i>attachment</i>, GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetIntegerv">glGetIntegerv</a></b>(GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetProgramInfoLog">glGetProgramInfoLog</a></b>(GLuint <i>program</i>, GLsizei <i>bufsize</i>, GLsizei *<i>length</i>, char *<i>infolog</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetProgramiv">glGetProgramiv</a></b>(GLuint <i>program</i>, GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetRenderbufferParameteriv">glGetRenderbufferParameteriv</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetShaderInfoLog">glGetShaderInfoLog</a></b>(GLuint <i>shader</i>, GLsizei <i>bufsize</i>, GLsizei *<i>length</i>, char *<i>infolog</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetShaderPrecisionFormat">glGetShaderPrecisionFormat</a></b>(GLenum <i>shadertype</i>, GLenum <i>precisiontype</i>, GLint *<i>range</i>, GLint *<i>precision</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetShaderSource">glGetShaderSource</a></b>(GLuint <i>shader</i>, GLsizei <i>bufsize</i>, GLsizei *<i>length</i>, char *<i>source</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetShaderiv">glGetShaderiv</a></b>(GLuint <i>shader</i>, GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const GLubyte *</td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetString">glGetString</a></b>(GLenum <i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetTexParameterfv">glGetTexParameterfv</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, GLfloat *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetTexParameteriv">glGetTexParameteriv</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLint </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetUniformLocation">glGetUniformLocation</a></b>(GLuint <i>program</i>, const char *<i>name</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetUniformfv">glGetUniformfv</a></b>(GLuint <i>program</i>, GLint <i>location</i>, GLfloat *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetUniformiv">glGetUniformiv</a></b>(GLuint <i>program</i>, GLint <i>location</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetVertexAttribPointerv">glGetVertexAttribPointerv</a></b>(GLuint <i>index</i>, GLenum <i>pname</i>, void **<i>pointer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetVertexAttribfv">glGetVertexAttribfv</a></b>(GLuint <i>index</i>, GLenum <i>pname</i>, GLfloat *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glGetVertexAttribiv">glGetVertexAttribiv</a></b>(GLuint <i>index</i>, GLenum <i>pname</i>, GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glHint">glHint</a></b>(GLenum <i>target</i>, GLenum <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLboolean </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glIsBuffer">glIsBuffer</a></b>(GLuint <i>buffer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLboolean </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glIsEnabled">glIsEnabled</a></b>(GLenum <i>cap</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLboolean </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glIsFramebuffer">glIsFramebuffer</a></b>(GLuint <i>framebuffer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLboolean </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glIsProgram">glIsProgram</a></b>(GLuint <i>program</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLboolean </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glIsRenderbuffer">glIsRenderbuffer</a></b>(GLuint <i>renderbuffer</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLboolean </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glIsShader">glIsShader</a></b>(GLuint <i>shader</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> GLboolean </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glIsTexture">glIsTexture</a></b>(GLuint <i>texture</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glLineWidth">glLineWidth</a></b>(GLfloat <i>width</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glLinkProgram">glLinkProgram</a></b>(GLuint <i>program</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glPixelStorei">glPixelStorei</a></b>(GLenum <i>pname</i>, GLint <i>param</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glPolygonOffset">glPolygonOffset</a></b>(GLfloat <i>factor</i>, GLfloat <i>units</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glReadPixels">glReadPixels</a></b>(GLint <i>x</i>, GLint <i>y</i>, GLsizei <i>width</i>, GLsizei <i>height</i>, GLenum <i>format</i>, GLenum <i>type</i>, GLvoid *<i>pixels</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glReleaseShaderCompiler">glReleaseShaderCompiler</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glRenderbufferStorage">glRenderbufferStorage</a></b>(GLenum <i>target</i>, GLenum <i>internalformat</i>, GLsizei <i>width</i>, GLsizei <i>height</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glSampleCoverage">glSampleCoverage</a></b>(GLclampf <i>value</i>, GLboolean <i>invert</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glScissor">glScissor</a></b>(GLint <i>x</i>, GLint <i>y</i>, GLsizei <i>width</i>, GLsizei <i>height</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glShaderBinary">glShaderBinary</a></b>(GLint <i>n</i>, const GLuint *<i>shaders</i>, GLenum <i>binaryformat</i>, const void *<i>binary</i>, GLint <i>length</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glShaderSource">glShaderSource</a></b>(GLuint <i>shader</i>, GLsizei <i>count</i>, const char **<i>string</i>, const GLint *<i>length</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glStencilFunc">glStencilFunc</a></b>(GLenum <i>func</i>, GLint <i>ref</i>, GLuint <i>mask</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glStencilFuncSeparate">glStencilFuncSeparate</a></b>(GLenum <i>face</i>, GLenum <i>func</i>, GLint <i>ref</i>, GLuint <i>mask</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glStencilMask">glStencilMask</a></b>(GLuint <i>mask</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glStencilMaskSeparate">glStencilMaskSeparate</a></b>(GLenum <i>face</i>, GLuint <i>mask</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glStencilOp">glStencilOp</a></b>(GLenum <i>fail</i>, GLenum <i>zfail</i>, GLenum <i>zpass</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glStencilOpSeparate">glStencilOpSeparate</a></b>(GLenum <i>face</i>, GLenum <i>fail</i>, GLenum <i>zfail</i>, GLenum <i>zpass</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glTexImage2D">glTexImage2D</a></b>(GLenum <i>target</i>, GLint <i>level</i>, GLint <i>internalformat</i>, GLsizei <i>width</i>, GLsizei <i>height</i>, GLint <i>border</i>, GLenum <i>format</i>, GLenum <i>type</i>, const GLvoid *<i>pixels</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glTexParameterf">glTexParameterf</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, GLfloat <i>param</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glTexParameterfv">glTexParameterfv</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, const GLfloat *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glTexParameteri">glTexParameteri</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, GLint <i>param</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glTexParameteriv">glTexParameteriv</a></b>(GLenum <i>target</i>, GLenum <i>pname</i>, const GLint *<i>params</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glTexSubImage2D">glTexSubImage2D</a></b>(GLenum <i>target</i>, GLint <i>level</i>, GLint <i>xoffset</i>, GLint <i>yoffset</i>, GLsizei <i>width</i>, GLsizei <i>height</i>, GLenum <i>format</i>, GLenum <i>type</i>, const GLvoid *<i>pixels</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform1f">glUniform1f</a></b>(GLint <i>location</i>, GLfloat <i>x</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform1fv">glUniform1fv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLfloat *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform1i">glUniform1i</a></b>(GLint <i>location</i>, GLint <i>x</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform1iv">glUniform1iv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLint *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform2f">glUniform2f</a></b>(GLint <i>location</i>, GLfloat <i>x</i>, GLfloat <i>y</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform2fv">glUniform2fv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLfloat *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform2i">glUniform2i</a></b>(GLint <i>location</i>, GLint <i>x</i>, GLint <i>y</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform2iv">glUniform2iv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLint *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform3f">glUniform3f</a></b>(GLint <i>location</i>, GLfloat <i>x</i>, GLfloat <i>y</i>, GLfloat <i>z</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform3fv">glUniform3fv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLfloat *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform3i">glUniform3i</a></b>(GLint <i>location</i>, GLint <i>x</i>, GLint <i>y</i>, GLint <i>z</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform3iv">glUniform3iv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLint *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform4f">glUniform4f</a></b>(GLint <i>location</i>, GLfloat <i>x</i>, GLfloat <i>y</i>, GLfloat <i>z</i>, GLfloat <i>w</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform4fv">glUniform4fv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLfloat *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform4i">glUniform4i</a></b>(GLint <i>location</i>, GLint <i>x</i>, GLint <i>y</i>, GLint <i>z</i>, GLint <i>w</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniform4iv">glUniform4iv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, const GLint *<i>v</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniformMatrix2fv">glUniformMatrix2fv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, GLboolean <i>transpose</i>, const GLfloat *<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniformMatrix3fv">glUniformMatrix3fv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, GLboolean <i>transpose</i>, const GLfloat *<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUniformMatrix4fv">glUniformMatrix4fv</a></b>(GLint <i>location</i>, GLsizei <i>count</i>, GLboolean <i>transpose</i>, const GLfloat *<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glUseProgram">glUseProgram</a></b>(GLuint <i>program</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glValidateProgram">glValidateProgram</a></b>(GLuint <i>program</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib1f">glVertexAttrib1f</a></b>(GLuint <i>indx</i>, GLfloat <i>x</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib1fv">glVertexAttrib1fv</a></b>(GLuint <i>indx</i>, const GLfloat *<i>values</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib2f">glVertexAttrib2f</a></b>(GLuint <i>indx</i>, GLfloat <i>x</i>, GLfloat <i>y</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib2fv">glVertexAttrib2fv</a></b>(GLuint <i>indx</i>, const GLfloat *<i>values</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib3f">glVertexAttrib3f</a></b>(GLuint <i>indx</i>, GLfloat <i>x</i>, GLfloat <i>y</i>, GLfloat <i>z</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib3fv">glVertexAttrib3fv</a></b>(GLuint <i>indx</i>, const GLfloat *<i>values</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib4f">glVertexAttrib4f</a></b>(GLuint <i>indx</i>, GLfloat <i>x</i>, GLfloat <i>y</i>, GLfloat <i>z</i>, GLfloat <i>w</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttrib4fv">glVertexAttrib4fv</a></b>(GLuint <i>indx</i>, const GLfloat *<i>values</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glVertexAttribPointer">glVertexAttribPointer</a></b>(GLuint <i>indx</i>, GLint <i>size</i>, GLenum <i>type</i>, GLboolean <i>normalized</i>, GLsizei <i>stride</i>, const void *<i>ptr</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#glViewport">glViewport</a></b>(GLint <i>x</i>, GLint <i>y</i>, GLsizei <i>width</i>, GLsizei <i>height</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#hasOpenGLFeature">hasOpenGLFeature</a></b>(QOpenGLFunctions::OpenGLFeature <i>feature</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#initializeOpenGLFunctions">initializeOpenGLFunctions</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QOpenGLFunctions::OpenGLFeatures </td><td class="memItemRight bottomAlign"><b><a href="qopenglfunctions.html#openGLFeatures">openGLFeatures</a></b>() const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QOpenGLFunctions-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>OpenGL ES 2.0 defines a subset of the OpenGL specification that is common across many desktop and embedded OpenGL implementations. However, it can be difficult to use the functions from that subset because they need to be resolved manually on desktop systems.</p>
<p>QOpenGLFunctions provides a guaranteed API that is available on all OpenGL systems and takes care of function resolution on systems that need it. The recommended way to use QOpenGLFunctions is by direct inheritance:</p>
<pre class="cpp">

      <span class="keyword">class</span> MyGLWindow : <span class="keyword">public</span> <span class="type"><a href="qwindow.html">QWindow</a></span><span class="operator">,</span> <span class="keyword">protected</span> <span class="type"><a href="qopenglfunctions.html#QOpenGLFunctions">QOpenGLFunctions</a></span>
      {
          Q_OBJECT
      <span class="keyword">public</span>:
          MyGLWindow(<span class="type"><a href="qscreen.html">QScreen</a></span> <span class="operator">*</span>screen <span class="operator">=</span> <span class="number">0</span>);

      <span class="keyword">protected</span>:
          <span class="type">void</span> initializeGL();
          <span class="type">void</span> paintGL();

          <span class="type"><a href="qopenglcontext.html">QOpenGLContext</a></span> <span class="operator">*</span>m_context;
      };

      MyGLWindow(<span class="type"><a href="qscreen.html">QScreen</a></span> <span class="operator">*</span>screen)
        : <span class="type"><a href="qwindow.html">QWindow</a></span>(screen)<span class="operator">,</span> <span class="type"><a href="../qtwidgets/qopenglwidget.html">QOpenGLWidget</a></span>(parent)
      {
          setSurfaceType(OpenGLSurface);
          create();

          <span class="comment">// Create an OpenGL context</span>
          m_context <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qopenglcontext.html">QOpenGLContext</a></span>;
          m_context<span class="operator">-</span><span class="operator">&gt;</span>create();

          <span class="comment">// Setup scene and render it</span>
          initializeGL();
          paintGL();
      }

      <span class="type">void</span> MyGLWindow<span class="operator">::</span>initializeGL()
      {
          m_context<span class="operator">-</span><span class="operator">&gt;</span>makeCurrent(<span class="keyword">this</span>);
          initializeOpenGLFunctions();
      }

</pre>
<p>The <code>paintGL()</code> function can then use any of the OpenGL ES 2.0 functions without explicit resolution, such as <a href="qopenglfunctions.html#glActiveTexture">glActiveTexture</a>() in the following example:</p>
<pre class="cpp">

      <span class="type">void</span> MyGLWindow<span class="operator">::</span>paintGL()
      {
          m_context<span class="operator">-</span><span class="operator">&gt;</span>makeCurrent(<span class="keyword">this</span>);
          glActiveTexture(GL_TEXTURE1);
          glBindTexture(GL_TEXTURE_2D<span class="operator">,</span> textureId);
          <span class="operator">.</span><span class="operator">.</span><span class="operator">.</span>
          m_context<span class="operator">-</span><span class="operator">&gt;</span>swapBuffers(<span class="keyword">this</span>);
          m_context<span class="operator">-</span><span class="operator">&gt;</span>doneCurrent();
      }

</pre>
<p>QOpenGLFunctions can also be used directly for ad-hoc invocation of OpenGL ES 2.0 functions on all platforms:</p>
<pre class="cpp">

      <span class="type"><a href="qopenglfunctions.html#QOpenGLFunctions">QOpenGLFunctions</a></span> glFuncs(<span class="type"><a href="qopenglcontext.html">QOpenGLContext</a></span><span class="operator">::</span>currentContext());
      glFuncs<span class="operator">.</span>glActiveTexture(GL_TEXTURE1);

</pre>
<p>An alternative approach is to query the context's associated QOpenGLFunctions instance. This is somewhat faster than the previous approach due to avoiding the creation of a new instance, but the difference is fairly small since the internal data structures are shared, and function resolving happens only once for a given context, regardless of the number of QOpenGLFunctions instances initialized for it.</p>
<pre class="cpp">

      <span class="type"><a href="qopenglfunctions.html#QOpenGLFunctions">QOpenGLFunctions</a></span> <span class="operator">*</span>glFuncs <span class="operator">=</span> <span class="type"><a href="qopenglcontext.html">QOpenGLContext</a></span><span class="operator">::</span>currentContext()<span class="operator">-</span><span class="operator">&gt;</span>functions();
      glFuncs<span class="operator">-</span><span class="operator">&gt;</span>glActiveTexture(GL_TEXTURE1);

</pre>
<p>QOpenGLFunctions provides wrappers for all OpenGL ES 2.0 functions, including the common subset of OpenGL 1.x and ES 2.0&#x2e; While such functions, for example <a href="qopenglfunctions.html#glClear">glClear</a>() or <a href="qopenglfunctions.html#glDrawArrays">glDrawArrays</a>(), can be called also directly, as long as the application links to the platform-specific OpenGL library, calling them via QOpenGLFunctions enables the possibility of dynamically loading the OpenGL implementation.</p>
<p>The <a href="qopenglfunctions.html#hasOpenGLFeature">hasOpenGLFeature</a>() and <a href="qopenglfunctions.html#openGLFeatures">openGLFeatures</a>() functions can be used to determine if the OpenGL implementation has a major OpenGL ES 2.0 feature. For example, the following checks if non power of two textures are available:</p>
<pre class="cpp">

      <span class="type"><a href="qopenglfunctions.html#QOpenGLFunctions">QOpenGLFunctions</a></span> funcs(<span class="type"><a href="qopenglcontext.html">QOpenGLContext</a></span><span class="operator">::</span>currentContext());
      bool npot <span class="operator">=</span> funcs<span class="operator">.</span>hasOpenGLFeature(<span class="type"><a href="qopenglfunctions.html#QOpenGLFunctions">QOpenGLFunctions</a></span><span class="operator">::</span>NPOTTextures);

</pre>
</div>
<p><b>See also </b><a href="qopenglcontext.html">QOpenGLContext</a> and <a href="qsurfaceformat.html">QSurfaceFormat</a>.</p>
<!-- @@@QOpenGLFunctions -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$OpenGLFeature$$$Multitexture$$$Shaders$$$Buffers$$$Framebuffers$$$BlendColor$$$BlendEquation$$$BlendEquationSeparate$$$BlendFuncSeparate$$$BlendSubtract$$$CompressedTextures$$$Multisample$$$StencilSeparate$$$NPOTTextures$$$NPOTTextureRepeat$$$FixedFunctionPipeline$$$TextureRGFormats$$$MultipleRenderTargets$$$BlendEquationAdvanced -->
<h3 class="flags" id="OpenGLFeature-enum"><a name="OpenGLFeature-enum"></a>enum QOpenGLFunctions::<span class="name">OpenGLFeature</span><br/>flags QOpenGLFunctions::<span class="name">OpenGLFeatures</span></h3>
<p>This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::Multitexture</code></td><td class="topAlign tblval"><code>0x0001</code></td><td class="topAlign"><a href="qopenglfunctions.html#glActiveTexture">glActiveTexture</a>() function is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::Shaders</code></td><td class="topAlign tblval"><code>0x0002</code></td><td class="topAlign">Shader functions are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::Buffers</code></td><td class="topAlign tblval"><code>0x0004</code></td><td class="topAlign">Vertex and index buffer functions are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::Framebuffers</code></td><td class="topAlign tblval"><code>0x0008</code></td><td class="topAlign">Framebuffer object functions are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::BlendColor</code></td><td class="topAlign tblval"><code>0x0010</code></td><td class="topAlign"><a href="qopenglfunctions.html#glBlendColor">glBlendColor</a>() is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::BlendEquation</code></td><td class="topAlign tblval"><code>0x0020</code></td><td class="topAlign"><a href="qopenglfunctions.html#glBlendEquation">glBlendEquation</a>() is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::BlendEquationSeparate</code></td><td class="topAlign tblval"><code>0x0040</code></td><td class="topAlign"><a href="qopenglfunctions.html#glBlendEquationSeparate">glBlendEquationSeparate</a>() is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::BlendEquationAdvanced</code></td><td class="topAlign tblval"><code>0x20000</code></td><td class="topAlign">Advanced blend equations are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::BlendFuncSeparate</code></td><td class="topAlign tblval"><code>0x0080</code></td><td class="topAlign"><a href="qopenglfunctions.html#glBlendFuncSeparate">glBlendFuncSeparate</a>() is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::BlendSubtract</code></td><td class="topAlign tblval"><code>0x0100</code></td><td class="topAlign">Blend subtract mode is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::CompressedTextures</code></td><td class="topAlign tblval"><code>0x0200</code></td><td class="topAlign">Compressed texture functions are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::Multisample</code></td><td class="topAlign tblval"><code>0x0400</code></td><td class="topAlign"><a href="qopenglfunctions.html#glSampleCoverage">glSampleCoverage</a>() function is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::StencilSeparate</code></td><td class="topAlign tblval"><code>0x0800</code></td><td class="topAlign">Separate stencil functions are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::NPOTTextures</code></td><td class="topAlign tblval"><code>0x1000</code></td><td class="topAlign">Non power of two textures are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::NPOTTextureRepeat</code></td><td class="topAlign tblval"><code>0x2000</code></td><td class="topAlign">Non power of two textures can use GL_REPEAT as wrap parameter.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::FixedFunctionPipeline</code></td><td class="topAlign tblval"><code>0x4000</code></td><td class="topAlign">The fixed function pipeline is available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::TextureRGFormats</code></td><td class="topAlign tblval"><code>0x8000</code></td><td class="topAlign">The GL_RED and GL_RG texture formats are available.</td></tr>
<tr><td class="topAlign"><code>QOpenGLFunctions::MultipleRenderTargets</code></td><td class="topAlign tblval"><code>0x10000</code></td><td class="topAlign">Multiple color attachments to framebuffer objects are available.</td></tr>
</table></div>
<p>The OpenGLFeatures type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;OpenGLFeature&gt;. It stores an OR combination of OpenGLFeature values.</p>
<!-- @@@OpenGLFeature -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QOpenGLFunctions$$$QOpenGLFunctionsQOpenGLContext* -->
<h3 class="fn" id="QOpenGLFunctions-1"><a name="QOpenGLFunctions-1"></a>QOpenGLFunctions::<span class="name">QOpenGLFunctions</span>(<span class="type"><a href="qopenglcontext.html">QOpenGLContext</a></span> *<i>context</i>)</h3>
<p>Constructs a function resolver for <i>context</i>. If <i>context</i> is <code>nullptr</code>, then the resolver will be created for the current <a href="qopenglcontext.html">QOpenGLContext</a>.</p>
<p>The context or another context in the group must be current.</p>
<p>An object constructed in this way can only be used with <i>context</i> and other contexts that share with it. Use <a href="qopenglfunctions.html#initializeOpenGLFunctions">initializeOpenGLFunctions</a>() to change the object's context association.</p>
<p><b>See also </b><a href="qopenglfunctions.html#initializeOpenGLFunctions">initializeOpenGLFunctions</a>().</p>
<!-- @@@QOpenGLFunctions -->
<!-- $$$QOpenGLFunctions[overload1]$$$QOpenGLFunctions -->
<h3 class="fn" id="QOpenGLFunctions"><a name="QOpenGLFunctions"></a>QOpenGLFunctions::<span class="name">QOpenGLFunctions</span>()</h3>
<p>Constructs a default function resolver. The resolver cannot be used until <a href="qopenglfunctions.html#initializeOpenGLFunctions">initializeOpenGLFunctions</a>() is called to specify the context.</p>
<p><b>See also </b><a href="qopenglfunctions.html#initializeOpenGLFunctions">initializeOpenGLFunctions</a>().</p>
<!-- @@@QOpenGLFunctions -->
<!-- $$$~QOpenGLFunctions[overload1]$$$~QOpenGLFunctions -->
<h3 class="fn" id="dtor.QOpenGLFunctions"><a name="dtor.QOpenGLFunctions"></a>QOpenGLFunctions::<span class="name">~QOpenGLFunctions</span>()</h3>
<p>Destroys this function resolver.</p>
<!-- @@@~QOpenGLFunctions -->
<!-- $$$glActiveTexture[overload1]$$$glActiveTextureGLenum -->
<h3 class="fn" id="glActiveTexture"><a name="glActiveTexture"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glActiveTexture</span>(<span class="type">GLenum</span> <i>texture</i>)</h3>
<p>Convenience function that calls glActiveTexture(<i>texture</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glActiveTexture.xhtml">glActiveTexture()</a>.</p>
<!-- @@@glActiveTexture -->
<!-- $$$glAttachShader[overload1]$$$glAttachShaderGLuintGLuint -->
<h3 class="fn" id="glAttachShader"><a name="glAttachShader"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glAttachShader</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLuint</span> <i>shader</i>)</h3>
<p>Convenience function that calls glAttachShader(<i>program</i>, <i>shader</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glAttachShader.xhtml">glAttachShader()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glAttachShader -->
<!-- $$$glBindAttribLocation[overload1]$$$glBindAttribLocationGLuintGLuintconstchar* -->
<h3 class="fn" id="glBindAttribLocation"><a name="glBindAttribLocation"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBindAttribLocation</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLuint</span> <i>index</i>, const <span class="type">char</span> *<i>name</i>)</h3>
<p>Convenience function that calls glBindAttribLocation(<i>program</i>, <i>index</i>, <i>name</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindAttribLocation.xhtml">glBindAttribLocation()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glBindAttribLocation -->
<!-- $$$glBindBuffer[overload1]$$$glBindBufferGLenumGLuint -->
<h3 class="fn" id="glBindBuffer"><a name="glBindBuffer"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBindBuffer</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLuint</span> <i>buffer</i>)</h3>
<p>Convenience function that calls glBindBuffer(<i>target</i>, <i>buffer</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindBuffer.xhtml">glBindBuffer()</a>.</p>
<!-- @@@glBindBuffer -->
<!-- $$$glBindFramebuffer[overload1]$$$glBindFramebufferGLenumGLuint -->
<h3 class="fn" id="glBindFramebuffer"><a name="glBindFramebuffer"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBindFramebuffer</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLuint</span> <i>framebuffer</i>)</h3>
<p>Convenience function that calls glBindFramebuffer(<i>target</i>, <i>framebuffer</i>).</p>
<p>Note that Qt will translate a <i>framebuffer</i> argument of 0 to the currently bound <a href="qopenglcontext.html">QOpenGLContext</a>'s defaultFramebufferObject().</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindFramebuffer.xhtml">glBindFramebuffer()</a>.</p>
<!-- @@@glBindFramebuffer -->
<!-- $$$glBindRenderbuffer[overload1]$$$glBindRenderbufferGLenumGLuint -->
<h3 class="fn" id="glBindRenderbuffer"><a name="glBindRenderbuffer"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBindRenderbuffer</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLuint</span> <i>renderbuffer</i>)</h3>
<p>Convenience function that calls glBindRenderbuffer(<i>target</i>, <i>renderbuffer</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindRenderbuffer.xhtml">glBindRenderbuffer()</a>.</p>
<!-- @@@glBindRenderbuffer -->
<!-- $$$glBindTexture[overload1]$$$glBindTextureGLenumGLuint -->
<h3 class="fn" id="glBindTexture"><a name="glBindTexture"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBindTexture</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLuint</span> <i>texture</i>)</h3>
<p>Convenience function that calls glBindTexture(<i>target</i>, <i>texture</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBindTexture.xhtml">glBindTexture()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glBindTexture -->
<!-- $$$glBlendColor[overload1]$$$glBlendColorGLclampfGLclampfGLclampfGLclampf -->
<h3 class="fn" id="glBlendColor"><a name="glBlendColor"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBlendColor</span>(<span class="type">GLclampf</span> <i>red</i>, <span class="type">GLclampf</span> <i>green</i>, <span class="type">GLclampf</span> <i>blue</i>, <span class="type">GLclampf</span> <i>alpha</i>)</h3>
<p>Convenience function that calls glBlendColor(<i>red</i>, <i>green</i>, <i>blue</i>, <i>alpha</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendColor.xhtml">glBlendColor()</a>.</p>
<!-- @@@glBlendColor -->
<!-- $$$glBlendEquation[overload1]$$$glBlendEquationGLenum -->
<h3 class="fn" id="glBlendEquation"><a name="glBlendEquation"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBlendEquation</span>(<span class="type">GLenum</span> <i>mode</i>)</h3>
<p>Convenience function that calls glBlendEquation(<i>mode</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquation.xhtml">glBlendEquation()</a>.</p>
<!-- @@@glBlendEquation -->
<!-- $$$glBlendEquationSeparate[overload1]$$$glBlendEquationSeparateGLenumGLenum -->
<h3 class="fn" id="glBlendEquationSeparate"><a name="glBlendEquationSeparate"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBlendEquationSeparate</span>(<span class="type">GLenum</span> <i>modeRGB</i>, <span class="type">GLenum</span> <i>modeAlpha</i>)</h3>
<p>Convenience function that calls glBlendEquationSeparate(<i>modeRGB</i>, <i>modeAlpha</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendEquationSeparate.xhtml">glBlendEquationSeparate()</a>.</p>
<!-- @@@glBlendEquationSeparate -->
<!-- $$$glBlendFunc[overload1]$$$glBlendFuncGLenumGLenum -->
<h3 class="fn" id="glBlendFunc"><a name="glBlendFunc"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBlendFunc</span>(<span class="type">GLenum</span> <i>sfactor</i>, <span class="type">GLenum</span> <i>dfactor</i>)</h3>
<p>Convenience function that calls glBlendFunc(<i>sfactor</i>, <i>dfactor</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFunc.xhtml">glBlendFunc()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glBlendFunc -->
<!-- $$$glBlendFuncSeparate[overload1]$$$glBlendFuncSeparateGLenumGLenumGLenumGLenum -->
<h3 class="fn" id="glBlendFuncSeparate"><a name="glBlendFuncSeparate"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBlendFuncSeparate</span>(<span class="type">GLenum</span> <i>srcRGB</i>, <span class="type">GLenum</span> <i>dstRGB</i>, <span class="type">GLenum</span> <i>srcAlpha</i>, <span class="type">GLenum</span> <i>dstAlpha</i>)</h3>
<p>Convenience function that calls glBlendFuncSeparate(<i>srcRGB</i>, <i>dstRGB</i>, <i>srcAlpha</i>, <i>dstAlpha</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBlendFuncSeparate.xhtml">glBlendFuncSeparate()</a>.</p>
<!-- @@@glBlendFuncSeparate -->
<!-- $$$glBufferData[overload1]$$$glBufferDataGLenumqopengl_GLsizeiptrconstvoid*GLenum -->
<h3 class="fn" id="glBufferData"><a name="glBufferData"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBufferData</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">qopengl_GLsizeiptr</span> <i>size</i>, const <span class="type">void</span> *<i>data</i>, <span class="type">GLenum</span> <i>usage</i>)</h3>
<p>Convenience function that calls glBufferData(<i>target</i>, <i>size</i>, <i>data</i>, <i>usage</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferData.xhtml">glBufferData()</a>.</p>
<!-- @@@glBufferData -->
<!-- $$$glBufferSubData[overload1]$$$glBufferSubDataGLenumqopengl_GLintptrqopengl_GLsizeiptrconstvoid* -->
<h3 class="fn" id="glBufferSubData"><a name="glBufferSubData"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glBufferSubData</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">qopengl_GLintptr</span> <i>offset</i>, <span class="type">qopengl_GLsizeiptr</span> <i>size</i>, const <span class="type">void</span> *<i>data</i>)</h3>
<p>Convenience function that calls glBufferSubData(<i>target</i>, <i>offset</i>, <i>size</i>, <i>data</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glBufferSubData.xhtml">glBufferSubData()</a>.</p>
<!-- @@@glBufferSubData -->
<!-- $$$glCheckFramebufferStatus[overload1]$$$glCheckFramebufferStatusGLenum -->
<h3 class="fn" id="glCheckFramebufferStatus"><a name="glCheckFramebufferStatus"></a><span class="type">GLenum</span> QOpenGLFunctions::<span class="name">glCheckFramebufferStatus</span>(<span class="type">GLenum</span> <i>target</i>)</h3>
<p>Convenience function that calls glCheckFramebufferStatus(<i>target</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCheckFramebufferStatus.xhtml">glCheckFramebufferStatus()</a>.</p>
<!-- @@@glCheckFramebufferStatus -->
<!-- $$$glClear[overload1]$$$glClearGLbitfield -->
<h3 class="fn" id="glClear"><a name="glClear"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glClear</span>(<span class="type">GLbitfield</span> <i>mask</i>)</h3>
<p>Convenience function that calls glClear(<i>mask</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClear.xhtml">glClear()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glClear -->
<!-- $$$glClearColor[overload1]$$$glClearColorGLclampfGLclampfGLclampfGLclampf -->
<h3 class="fn" id="glClearColor"><a name="glClearColor"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glClearColor</span>(<span class="type">GLclampf</span> <i>red</i>, <span class="type">GLclampf</span> <i>green</i>, <span class="type">GLclampf</span> <i>blue</i>, <span class="type">GLclampf</span> <i>alpha</i>)</h3>
<p>Convenience function that calls glClearColor(<i>red</i>, <i>green</i>, <i>blue</i>, <i>alpha</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearColor.xhtml">glClearColor()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glClearColor -->
<!-- $$$glClearDepthf[overload1]$$$glClearDepthfGLclampf -->
<h3 class="fn" id="glClearDepthf"><a name="glClearDepthf"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glClearDepthf</span>(<span class="type">GLclampf</span> <i>depth</i>)</h3>
<p>Convenience function that calls glClearDepth(<i>depth</i>) on desktop OpenGL systems and glClearDepthf(<i>depth</i>) on embedded OpenGL ES systems.</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearDepthf.xhtml">glClearDepthf()</a>.</p>
<!-- @@@glClearDepthf -->
<!-- $$$glClearStencil[overload1]$$$glClearStencilGLint -->
<h3 class="fn" id="glClearStencil"><a name="glClearStencil"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glClearStencil</span>(<span class="type">GLint</span> <i>s</i>)</h3>
<p>Convenience function that calls glClearStencil(<i>s</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glClearStencil.xhtml">glClearStencil()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glClearStencil -->
<!-- $$$glColorMask[overload1]$$$glColorMaskGLbooleanGLbooleanGLbooleanGLboolean -->
<h3 class="fn" id="glColorMask"><a name="glColorMask"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glColorMask</span>(<span class="type">GLboolean</span> <i>red</i>, <span class="type">GLboolean</span> <i>green</i>, <span class="type">GLboolean</span> <i>blue</i>, <span class="type">GLboolean</span> <i>alpha</i>)</h3>
<p>Convenience function that calls glColorMask(<i>red</i>, <i>green</i>, <i>blue</i>, <i>alpha</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glColorMask.xhtml">glColorMask()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glColorMask -->
<!-- $$$glCompileShader[overload1]$$$glCompileShaderGLuint -->
<h3 class="fn" id="glCompileShader"><a name="glCompileShader"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glCompileShader</span>(<span class="type">GLuint</span> <i>shader</i>)</h3>
<p>Convenience function that calls glCompileShader(<i>shader</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompileShader.xhtml">glCompileShader()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glCompileShader -->
<!-- $$$glCompressedTexImage2D[overload1]$$$glCompressedTexImage2DGLenumGLintGLenumGLsizeiGLsizeiGLintGLsizeiconstvoid* -->
<h3 class="fn" id="glCompressedTexImage2D"><a name="glCompressedTexImage2D"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glCompressedTexImage2D</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLint</span> <i>level</i>, <span class="type">GLenum</span> <i>internalformat</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>, <span class="type">GLint</span> <i>border</i>, <span class="type">GLsizei</span> <i>imageSize</i>, const <span class="type">void</span> *<i>data</i>)</h3>
<p>Convenience function that calls glCompressedTexImage2D(<i>target</i>, <i>level</i>, <i>internalformat</i>, <i>width</i>, <i>height</i>, <i>border</i>, <i>imageSize</i>, <i>data</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexImage2D.xhtml">glCompressedTexImage2D()</a>.</p>
<!-- @@@glCompressedTexImage2D -->
<!-- $$$glCompressedTexSubImage2D[overload1]$$$glCompressedTexSubImage2DGLenumGLintGLintGLintGLsizeiGLsizeiGLenumGLsizeiconstvoid* -->
<h3 class="fn" id="glCompressedTexSubImage2D"><a name="glCompressedTexSubImage2D"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glCompressedTexSubImage2D</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLint</span> <i>level</i>, <span class="type">GLint</span> <i>xoffset</i>, <span class="type">GLint</span> <i>yoffset</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>, <span class="type">GLenum</span> <i>format</i>, <span class="type">GLsizei</span> <i>imageSize</i>, const <span class="type">void</span> *<i>data</i>)</h3>
<p>Convenience function that calls glCompressedTexSubImage2D(<i>target</i>, <i>level</i>, <i>xoffset</i>, <i>yoffset</i>, <i>width</i>, <i>height</i>, <i>format</i>, <i>imageSize</i>, <i>data</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCompressedTexSubImage2D.xhtml">glCompressedTexSubImage2D()</a>.</p>
<!-- @@@glCompressedTexSubImage2D -->
<!-- $$$glCopyTexImage2D[overload1]$$$glCopyTexImage2DGLenumGLintGLenumGLintGLintGLsizeiGLsizeiGLint -->
<h3 class="fn" id="glCopyTexImage2D"><a name="glCopyTexImage2D"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glCopyTexImage2D</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLint</span> <i>level</i>, <span class="type">GLenum</span> <i>internalformat</i>, <span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>, <span class="type">GLint</span> <i>border</i>)</h3>
<p>Convenience function that calls glCopyTexImage2D(<i>target</i>, <i>level</i>, <i>internalformat</i>, <i>x</i>, <i>y</i>, <i>width</i>, <i>height</i>, <i>border</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCopyTexImage2D.xhtml">glCopyTexImage2D()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glCopyTexImage2D -->
<!-- $$$glCopyTexSubImage2D[overload1]$$$glCopyTexSubImage2DGLenumGLintGLintGLintGLintGLintGLsizeiGLsizei -->
<h3 class="fn" id="glCopyTexSubImage2D"><a name="glCopyTexSubImage2D"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glCopyTexSubImage2D</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLint</span> <i>level</i>, <span class="type">GLint</span> <i>xoffset</i>, <span class="type">GLint</span> <i>yoffset</i>, <span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>)</h3>
<p>Convenience function that calls glCopyTexSubImage2D(<i>target</i>, <i>level</i>, <i>xoffset</i>, <i>yoffset</i>, <i>x</i>, <i>y</i>, <i>width</i>, <i>height</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCopyTexSubImage2D.xhtml">glCopyTexSubImage2D()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glCopyTexSubImage2D -->
<!-- $$$glCreateProgram[overload1]$$$glCreateProgram -->
<h3 class="fn" id="glCreateProgram"><a name="glCreateProgram"></a><span class="type">GLuint</span> QOpenGLFunctions::<span class="name">glCreateProgram</span>()</h3>
<p>Convenience function that calls glCreateProgram().</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateProgram.xhtml">glCreateProgram()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glCreateProgram -->
<!-- $$$glCreateShader[overload1]$$$glCreateShaderGLenum -->
<h3 class="fn" id="glCreateShader"><a name="glCreateShader"></a><span class="type">GLuint</span> QOpenGLFunctions::<span class="name">glCreateShader</span>(<span class="type">GLenum</span> <i>type</i>)</h3>
<p>Convenience function that calls glCreateShader(<i>type</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCreateShader.xhtml">glCreateShader()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glCreateShader -->
<!-- $$$glCullFace[overload1]$$$glCullFaceGLenum -->
<h3 class="fn" id="glCullFace"><a name="glCullFace"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glCullFace</span>(<span class="type">GLenum</span> <i>mode</i>)</h3>
<p>Convenience function that calls glCullFace(<i>mode</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glCullFace.xhtml">glCullFace()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glCullFace -->
<!-- $$$glDeleteBuffers[overload1]$$$glDeleteBuffersGLsizeiconstGLuint* -->
<h3 class="fn" id="glDeleteBuffers"><a name="glDeleteBuffers"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDeleteBuffers</span>(<span class="type">GLsizei</span> <i>n</i>, const <span class="type">GLuint</span> *<i>buffers</i>)</h3>
<p>Convenience function that calls glDeleteBuffers(<i>n</i>, <i>buffers</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteBuffers.xhtml">glDeleteBuffers()</a>.</p>
<!-- @@@glDeleteBuffers -->
<!-- $$$glDeleteFramebuffers[overload1]$$$glDeleteFramebuffersGLsizeiconstGLuint* -->
<h3 class="fn" id="glDeleteFramebuffers"><a name="glDeleteFramebuffers"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDeleteFramebuffers</span>(<span class="type">GLsizei</span> <i>n</i>, const <span class="type">GLuint</span> *<i>framebuffers</i>)</h3>
<p>Convenience function that calls glDeleteFramebuffers(<i>n</i>, <i>framebuffers</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteFramebuffers.xhtml">glDeleteFramebuffers()</a>.</p>
<!-- @@@glDeleteFramebuffers -->
<!-- $$$glDeleteProgram[overload1]$$$glDeleteProgramGLuint -->
<h3 class="fn" id="glDeleteProgram"><a name="glDeleteProgram"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDeleteProgram</span>(<span class="type">GLuint</span> <i>program</i>)</h3>
<p>Convenience function that calls glDeleteProgram(<i>program</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteProgram.xhtml">glDeleteProgram()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glDeleteProgram -->
<!-- $$$glDeleteRenderbuffers[overload1]$$$glDeleteRenderbuffersGLsizeiconstGLuint* -->
<h3 class="fn" id="glDeleteRenderbuffers"><a name="glDeleteRenderbuffers"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDeleteRenderbuffers</span>(<span class="type">GLsizei</span> <i>n</i>, const <span class="type">GLuint</span> *<i>renderbuffers</i>)</h3>
<p>Convenience function that calls glDeleteRenderbuffers(<i>n</i>, <i>renderbuffers</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteRenderbuffers.xhtml">glDeleteRenderbuffers()</a>.</p>
<!-- @@@glDeleteRenderbuffers -->
<!-- $$$glDeleteShader[overload1]$$$glDeleteShaderGLuint -->
<h3 class="fn" id="glDeleteShader"><a name="glDeleteShader"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDeleteShader</span>(<span class="type">GLuint</span> <i>shader</i>)</h3>
<p>Convenience function that calls glDeleteShader(<i>shader</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteShader.xhtml">glDeleteShader()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glDeleteShader -->
<!-- $$$glDeleteTextures[overload1]$$$glDeleteTexturesGLsizeiconstGLuint* -->
<h3 class="fn" id="glDeleteTextures"><a name="glDeleteTextures"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDeleteTextures</span>(<span class="type">GLsizei</span> <i>n</i>, const <span class="type">GLuint</span> *<i>textures</i>)</h3>
<p>Convenience function that calls glDeleteTextures(<i>n</i>, <i>textures</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDeleteTextures.xhtml">glDeleteTextures()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glDeleteTextures -->
<!-- $$$glDepthFunc[overload1]$$$glDepthFuncGLenum -->
<h3 class="fn" id="glDepthFunc"><a name="glDepthFunc"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDepthFunc</span>(<span class="type">GLenum</span> <i>func</i>)</h3>
<p>Convenience function that calls glDepthFunc(<i>func</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthFunc.xhtml">glDepthFunc()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glDepthFunc -->
<!-- $$$glDepthMask[overload1]$$$glDepthMaskGLboolean -->
<h3 class="fn" id="glDepthMask"><a name="glDepthMask"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDepthMask</span>(<span class="type">GLboolean</span> <i>flag</i>)</h3>
<p>Convenience function that calls glDepthMask(<i>flag</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthMask.xhtml">glDepthMask()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glDepthMask -->
<!-- $$$glDepthRangef[overload1]$$$glDepthRangefGLclampfGLclampf -->
<h3 class="fn" id="glDepthRangef"><a name="glDepthRangef"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDepthRangef</span>(<span class="type">GLclampf</span> <i>zNear</i>, <span class="type">GLclampf</span> <i>zFar</i>)</h3>
<p>Convenience function that calls glDepthRange(<i>zNear</i>, <i>zFar</i>) on desktop OpenGL systems and glDepthRangef(<i>zNear</i>, <i>zFar</i>) on embedded OpenGL ES systems.</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDepthRangef.xhtml">glDepthRangef()</a>.</p>
<!-- @@@glDepthRangef -->
<!-- $$$glDetachShader[overload1]$$$glDetachShaderGLuintGLuint -->
<h3 class="fn" id="glDetachShader"><a name="glDetachShader"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDetachShader</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLuint</span> <i>shader</i>)</h3>
<p>Convenience function that calls glDetachShader(<i>program</i>, <i>shader</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDetachShader.xhtml">glDetachShader()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glDetachShader -->
<!-- $$$glDisable[overload1]$$$glDisableGLenum -->
<h3 class="fn" id="glDisable"><a name="glDisable"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDisable</span>(<span class="type">GLenum</span> <i>cap</i>)</h3>
<p>Convenience function that calls glDisable(<i>cap</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDisable.xhtml">glDisable()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glDisable -->
<!-- $$$glDisableVertexAttribArray[overload1]$$$glDisableVertexAttribArrayGLuint -->
<h3 class="fn" id="glDisableVertexAttribArray"><a name="glDisableVertexAttribArray"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDisableVertexAttribArray</span>(<span class="type">GLuint</span> <i>index</i>)</h3>
<p>Convenience function that calls glDisableVertexAttribArray(<i>index</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es2.0/html/glDisableVertexAttribArray.xhtml">glDisableVertexAttribArray()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glDisableVertexAttribArray -->
<!-- $$$glDrawArrays[overload1]$$$glDrawArraysGLenumGLintGLsizei -->
<h3 class="fn" id="glDrawArrays"><a name="glDrawArrays"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDrawArrays</span>(<span class="type">GLenum</span> <i>mode</i>, <span class="type">GLint</span> <i>first</i>, <span class="type">GLsizei</span> <i>count</i>)</h3>
<p>Convenience function that calls glDrawArrays(<i>mode</i>, <i>first</i>, <i>count</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawArrays.xhtml">glDrawArrays()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glDrawArrays -->
<!-- $$$glDrawElements[overload1]$$$glDrawElementsGLenumGLsizeiGLenumconstGLvoid* -->
<h3 class="fn" id="glDrawElements"><a name="glDrawElements"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glDrawElements</span>(<span class="type">GLenum</span> <i>mode</i>, <span class="type">GLsizei</span> <i>count</i>, <span class="type">GLenum</span> <i>type</i>, const <span class="type">GLvoid</span> *<i>indices</i>)</h3>
<p>Convenience function that calls glDrawElements(<i>mode</i>, <i>count</i>, <i>type</i>, <i>indices</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawElements.xhtml">glDrawElements()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glDrawElements -->
<!-- $$$glEnable[overload1]$$$glEnableGLenum -->
<h3 class="fn" id="glEnable"><a name="glEnable"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glEnable</span>(<span class="type">GLenum</span> <i>cap</i>)</h3>
<p>Convenience function that calls glEnable(<i>cap</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnable.xhtml">glEnable()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glEnable -->
<!-- $$$glEnableVertexAttribArray[overload1]$$$glEnableVertexAttribArrayGLuint -->
<h3 class="fn" id="glEnableVertexAttribArray"><a name="glEnableVertexAttribArray"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glEnableVertexAttribArray</span>(<span class="type">GLuint</span> <i>index</i>)</h3>
<p>Convenience function that calls glEnableVertexAttribArray(<i>index</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glEnableVertexAttribArray.xhtml">glEnableVertexAttribArray()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glEnableVertexAttribArray -->
<!-- $$$glFinish[overload1]$$$glFinish -->
<h3 class="fn" id="glFinish"><a name="glFinish"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glFinish</span>()</h3>
<p>Convenience function that calls glFinish().</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFinish.xhtml">glFinish()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glFinish -->
<!-- $$$glFlush[overload1]$$$glFlush -->
<h3 class="fn" id="glFlush"><a name="glFlush"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glFlush</span>()</h3>
<p>Convenience function that calls glFlush().</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFlush.xhtml">glFlush()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glFlush -->
<!-- $$$glFramebufferRenderbuffer[overload1]$$$glFramebufferRenderbufferGLenumGLenumGLenumGLuint -->
<h3 class="fn" id="glFramebufferRenderbuffer"><a name="glFramebufferRenderbuffer"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glFramebufferRenderbuffer</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>attachment</i>, <span class="type">GLenum</span> <i>renderbuffertarget</i>, <span class="type">GLuint</span> <i>renderbuffer</i>)</h3>
<p>Convenience function that calls glFramebufferRenderbuffer(<i>target</i>, <i>attachment</i>, <i>renderbuffertarget</i>, <i>renderbuffer</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferRenderbuffer.xhtml">glFramebufferRenderbuffer()</a>.</p>
<!-- @@@glFramebufferRenderbuffer -->
<!-- $$$glFramebufferTexture2D[overload1]$$$glFramebufferTexture2DGLenumGLenumGLenumGLuintGLint -->
<h3 class="fn" id="glFramebufferTexture2D"><a name="glFramebufferTexture2D"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glFramebufferTexture2D</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>attachment</i>, <span class="type">GLenum</span> <i>textarget</i>, <span class="type">GLuint</span> <i>texture</i>, <span class="type">GLint</span> <i>level</i>)</h3>
<p>Convenience function that calls glFramebufferTexture2D(<i>target</i>, <i>attachment</i>, <i>textarget</i>, <i>texture</i>, <i>level</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFramebufferTexture2D.xhtml">glFramebufferTexture2D()</a>.</p>
<!-- @@@glFramebufferTexture2D -->
<!-- $$$glFrontFace[overload1]$$$glFrontFaceGLenum -->
<h3 class="fn" id="glFrontFace"><a name="glFrontFace"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glFrontFace</span>(<span class="type">GLenum</span> <i>mode</i>)</h3>
<p>Convenience function that calls glFrontFace(<i>mode</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glFrontFace.xhtml">glFrontFace()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glFrontFace -->
<!-- $$$glGenBuffers[overload1]$$$glGenBuffersGLsizeiGLuint* -->
<h3 class="fn" id="glGenBuffers"><a name="glGenBuffers"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGenBuffers</span>(<span class="type">GLsizei</span> <i>n</i>, <span class="type">GLuint</span> *<i>buffers</i>)</h3>
<p>Convenience function that calls glGenBuffers(<i>n</i>, <i>buffers</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenBuffers.xhtml">glGenBuffers()</a>.</p>
<!-- @@@glGenBuffers -->
<!-- $$$glGenFramebuffers[overload1]$$$glGenFramebuffersGLsizeiGLuint* -->
<h3 class="fn" id="glGenFramebuffers"><a name="glGenFramebuffers"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGenFramebuffers</span>(<span class="type">GLsizei</span> <i>n</i>, <span class="type">GLuint</span> *<i>framebuffers</i>)</h3>
<p>Convenience function that calls glGenFramebuffers(<i>n</i>, <i>framebuffers</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenFramebuffers.xhtml">glGenFramebuffers()</a>.</p>
<!-- @@@glGenFramebuffers -->
<!-- $$$glGenRenderbuffers[overload1]$$$glGenRenderbuffersGLsizeiGLuint* -->
<h3 class="fn" id="glGenRenderbuffers"><a name="glGenRenderbuffers"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGenRenderbuffers</span>(<span class="type">GLsizei</span> <i>n</i>, <span class="type">GLuint</span> *<i>renderbuffers</i>)</h3>
<p>Convenience function that calls glGenRenderbuffers(<i>n</i>, <i>renderbuffers</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenRenderbuffers.xhtml">glGenRenderbuffers()</a>.</p>
<!-- @@@glGenRenderbuffers -->
<!-- $$$glGenTextures[overload1]$$$glGenTexturesGLsizeiGLuint* -->
<h3 class="fn" id="glGenTextures"><a name="glGenTextures"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGenTextures</span>(<span class="type">GLsizei</span> <i>n</i>, <span class="type">GLuint</span> *<i>textures</i>)</h3>
<p>Convenience function that calls glGenTextures(<i>n</i>, <i>textures</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenTextures.xhtml">glGenTextures()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGenTextures -->
<!-- $$$glGenerateMipmap[overload1]$$$glGenerateMipmapGLenum -->
<h3 class="fn" id="glGenerateMipmap"><a name="glGenerateMipmap"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGenerateMipmap</span>(<span class="type">GLenum</span> <i>target</i>)</h3>
<p>Convenience function that calls glGenerateMipmap(<i>target</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenerateMipmap.xhtml">glGenerateMipmap()</a>.</p>
<!-- @@@glGenerateMipmap -->
<!-- $$$glGetActiveAttrib[overload1]$$$glGetActiveAttribGLuintGLuintGLsizeiGLsizei*GLint*GLenum*char* -->
<h3 class="fn" id="glGetActiveAttrib"><a name="glGetActiveAttrib"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetActiveAttrib</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLuint</span> <i>index</i>, <span class="type">GLsizei</span> <i>bufsize</i>, <span class="type">GLsizei</span> *<i>length</i>, <span class="type">GLint</span> *<i>size</i>, <span class="type">GLenum</span> *<i>type</i>, <span class="type">char</span> *<i>name</i>)</h3>
<p>Convenience function that calls glGetActiveAttrib(<i>program</i>, <i>index</i>, <i>bufsize</i>, <i>length</i>, <i>size</i>, <i>type</i>, <i>name</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetActiveAttrib.xhtml">glGetActiveAttrib()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetActiveAttrib -->
<!-- $$$glGetActiveUniform[overload1]$$$glGetActiveUniformGLuintGLuintGLsizeiGLsizei*GLint*GLenum*char* -->
<h3 class="fn" id="glGetActiveUniform"><a name="glGetActiveUniform"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetActiveUniform</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLuint</span> <i>index</i>, <span class="type">GLsizei</span> <i>bufsize</i>, <span class="type">GLsizei</span> *<i>length</i>, <span class="type">GLint</span> *<i>size</i>, <span class="type">GLenum</span> *<i>type</i>, <span class="type">char</span> *<i>name</i>)</h3>
<p>Convenience function that calls glGetActiveUniform(<i>program</i>, <i>index</i>, <i>bufsize</i>, <i>length</i>, <i>size</i>, <i>type</i>, <i>name</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetActiveUniform.xhtml">glGetActiveUniform()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetActiveUniform -->
<!-- $$$glGetAttachedShaders[overload1]$$$glGetAttachedShadersGLuintGLsizeiGLsizei*GLuint* -->
<h3 class="fn" id="glGetAttachedShaders"><a name="glGetAttachedShaders"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetAttachedShaders</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLsizei</span> <i>maxcount</i>, <span class="type">GLsizei</span> *<i>count</i>, <span class="type">GLuint</span> *<i>shaders</i>)</h3>
<p>Convenience function that calls glGetAttachedShaders(<i>program</i>, <i>maxcount</i>, <i>count</i>, <i>shaders</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetAttachedShaders.xhtml">glGetAttachedShaders()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetAttachedShaders -->
<!-- $$$glGetAttribLocation[overload1]$$$glGetAttribLocationGLuintconstchar* -->
<h3 class="fn" id="glGetAttribLocation"><a name="glGetAttribLocation"></a><span class="type">GLint</span> QOpenGLFunctions::<span class="name">glGetAttribLocation</span>(<span class="type">GLuint</span> <i>program</i>, const <span class="type">char</span> *<i>name</i>)</h3>
<p>Convenience function that calls glGetAttribLocation(<i>program</i>, <i>name</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetAttribLocation.xhtml">glGetAttribLocation()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetAttribLocation -->
<!-- $$$glGetBooleanv[overload1]$$$glGetBooleanvGLenumGLboolean* -->
<h3 class="fn" id="glGetBooleanv"><a name="glGetBooleanv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetBooleanv</span>(<span class="type">GLenum</span> <i>pname</i>, <span class="type">GLboolean</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetBooleanv(<i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml">glGetBooleanv()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGetBooleanv -->
<!-- $$$glGetBufferParameteriv[overload1]$$$glGetBufferParameterivGLenumGLenumGLint* -->
<h3 class="fn" id="glGetBufferParameteriv"><a name="glGetBufferParameteriv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetBufferParameteriv</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetBufferParameteriv(<i>target</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetBufferParameteriv.xhtml">glGetBufferParameteriv()</a>.</p>
<!-- @@@glGetBufferParameteriv -->
<!-- $$$glGetError[overload1]$$$glGetError -->
<h3 class="fn" id="glGetError"><a name="glGetError"></a><span class="type">GLenum</span> QOpenGLFunctions::<span class="name">glGetError</span>()</h3>
<p>Convenience function that calls glGetError().</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetError.xhtml">glGetError()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGetError -->
<!-- $$$glGetFloatv[overload1]$$$glGetFloatvGLenumGLfloat* -->
<h3 class="fn" id="glGetFloatv"><a name="glGetFloatv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetFloatv</span>(<span class="type">GLenum</span> <i>pname</i>, <span class="type">GLfloat</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetFloatv(<i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml">glGetFloatv()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGetFloatv -->
<!-- $$$glGetFramebufferAttachmentParameteriv[overload1]$$$glGetFramebufferAttachmentParameterivGLenumGLenumGLenumGLint* -->
<h3 class="fn" id="glGetFramebufferAttachmentParameteriv"><a name="glGetFramebufferAttachmentParameteriv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetFramebufferAttachmentParameteriv</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>attachment</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetFramebufferAttachmentParameteriv(<i>target</i>, <i>attachment</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetFramebufferAttachmentParameteriv.xhtml">glGetFramebufferAttachmentParameteriv()</a>.</p>
<!-- @@@glGetFramebufferAttachmentParameteriv -->
<!-- $$$glGetIntegerv[overload1]$$$glGetIntegervGLenumGLint* -->
<h3 class="fn" id="glGetIntegerv"><a name="glGetIntegerv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetIntegerv</span>(<span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetIntegerv(<i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGet.xhtml">glGetIntegerv()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGetIntegerv -->
<!-- $$$glGetProgramInfoLog[overload1]$$$glGetProgramInfoLogGLuintGLsizeiGLsizei*char* -->
<h3 class="fn" id="glGetProgramInfoLog"><a name="glGetProgramInfoLog"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetProgramInfoLog</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLsizei</span> <i>bufsize</i>, <span class="type">GLsizei</span> *<i>length</i>, <span class="type">char</span> *<i>infolog</i>)</h3>
<p>Convenience function that calls glGetProgramInfoLog(<i>program</i>, <i>bufsize</i>, <i>length</i>, <i>infolog</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetProgramInfoLog.xhtml">glGetProgramInfoLog()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetProgramInfoLog -->
<!-- $$$glGetProgramiv[overload1]$$$glGetProgramivGLuintGLenumGLint* -->
<h3 class="fn" id="glGetProgramiv"><a name="glGetProgramiv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetProgramiv</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetProgramiv(<i>program</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetProgramiv.xhtml">glGetProgramiv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetProgramiv -->
<!-- $$$glGetRenderbufferParameteriv[overload1]$$$glGetRenderbufferParameterivGLenumGLenumGLint* -->
<h3 class="fn" id="glGetRenderbufferParameteriv"><a name="glGetRenderbufferParameteriv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetRenderbufferParameteriv</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetRenderbufferParameteriv(<i>target</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetRenderbufferParameteriv.xhtml">glGetRenderbufferParameteriv()</a>.</p>
<!-- @@@glGetRenderbufferParameteriv -->
<!-- $$$glGetShaderInfoLog[overload1]$$$glGetShaderInfoLogGLuintGLsizeiGLsizei*char* -->
<h3 class="fn" id="glGetShaderInfoLog"><a name="glGetShaderInfoLog"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetShaderInfoLog</span>(<span class="type">GLuint</span> <i>shader</i>, <span class="type">GLsizei</span> <i>bufsize</i>, <span class="type">GLsizei</span> *<i>length</i>, <span class="type">char</span> *<i>infolog</i>)</h3>
<p>Convenience function that calls glGetShaderInfoLog(<i>shader</i>, <i>bufsize</i>, <i>length</i>, <i>infolog</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderInfoLog.xhtml">glGetShaderInfoLog()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetShaderInfoLog -->
<!-- $$$glGetShaderPrecisionFormat[overload1]$$$glGetShaderPrecisionFormatGLenumGLenumGLint*GLint* -->
<h3 class="fn" id="glGetShaderPrecisionFormat"><a name="glGetShaderPrecisionFormat"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetShaderPrecisionFormat</span>(<span class="type">GLenum</span> <i>shadertype</i>, <span class="type">GLenum</span> <i>precisiontype</i>, <span class="type">GLint</span> *<i>range</i>, <span class="type">GLint</span> *<i>precision</i>)</h3>
<p>Convenience function that calls glGetShaderPrecisionFormat(<i>shadertype</i>, <i>precisiontype</i>, <i>range</i>, <i>precision</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderPrecisionFormat.xhtml">glGetShaderPrecisionFormat()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetShaderPrecisionFormat -->
<!-- $$$glGetShaderSource[overload1]$$$glGetShaderSourceGLuintGLsizeiGLsizei*char* -->
<h3 class="fn" id="glGetShaderSource"><a name="glGetShaderSource"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetShaderSource</span>(<span class="type">GLuint</span> <i>shader</i>, <span class="type">GLsizei</span> <i>bufsize</i>, <span class="type">GLsizei</span> *<i>length</i>, <span class="type">char</span> *<i>source</i>)</h3>
<p>Convenience function that calls glGetShaderSource(<i>shader</i>, <i>bufsize</i>, <i>length</i>, <i>source</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderSource.xhtml">glGetShaderSource()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetShaderSource -->
<!-- $$$glGetShaderiv[overload1]$$$glGetShaderivGLuintGLenumGLint* -->
<h3 class="fn" id="glGetShaderiv"><a name="glGetShaderiv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetShaderiv</span>(<span class="type">GLuint</span> <i>shader</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetShaderiv(<i>shader</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetShaderiv.xhtml">glGetShaderiv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetShaderiv -->
<!-- $$$glGetString[overload1]$$$glGetStringGLenum -->
<h3 class="fn" id="glGetString"><a name="glGetString"></a>const <span class="type">GLubyte</span> *QOpenGLFunctions::<span class="name">glGetString</span>(<span class="type">GLenum</span> <i>name</i>)</h3>
<p>Convenience function that calls glGetString(<i>name</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetString.xhtml">glGetString()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGetString -->
<!-- $$$glGetTexParameterfv[overload1]$$$glGetTexParameterfvGLenumGLenumGLfloat* -->
<h3 class="fn" id="glGetTexParameterfv"><a name="glGetTexParameterfv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetTexParameterfv</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLfloat</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetTexParameterfv(<i>target</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml">glGetTexParameterfv()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGetTexParameterfv -->
<!-- $$$glGetTexParameteriv[overload1]$$$glGetTexParameterivGLenumGLenumGLint* -->
<h3 class="fn" id="glGetTexParameteriv"><a name="glGetTexParameteriv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetTexParameteriv</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetTexParameteriv(<i>target</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetTexParameter.xhtml">glGetTexParameteriv()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glGetTexParameteriv -->
<!-- $$$glGetUniformLocation[overload1]$$$glGetUniformLocationGLuintconstchar* -->
<h3 class="fn" id="glGetUniformLocation"><a name="glGetUniformLocation"></a><span class="type">GLint</span> QOpenGLFunctions::<span class="name">glGetUniformLocation</span>(<span class="type">GLuint</span> <i>program</i>, const <span class="type">char</span> *<i>name</i>)</h3>
<p>Convenience function that calls glGetUniformLocation(<i>program</i>, <i>name</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniformLocation.xhtml">glGetUniformLocation()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetUniformLocation -->
<!-- $$$glGetUniformfv[overload1]$$$glGetUniformfvGLuintGLintGLfloat* -->
<h3 class="fn" id="glGetUniformfv"><a name="glGetUniformfv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetUniformfv</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLint</span> <i>location</i>, <span class="type">GLfloat</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetUniformfv(<i>program</i>, <i>location</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml">glGetUniformfv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetUniformfv -->
<!-- $$$glGetUniformiv[overload1]$$$glGetUniformivGLuintGLintGLint* -->
<h3 class="fn" id="glGetUniformiv"><a name="glGetUniformiv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetUniformiv</span>(<span class="type">GLuint</span> <i>program</i>, <span class="type">GLint</span> <i>location</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetUniformiv(<i>program</i>, <i>location</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetUniform.xhtml">glGetUniformiv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetUniformiv -->
<!-- $$$glGetVertexAttribPointerv[overload1]$$$glGetVertexAttribPointervGLuintGLenumvoid** -->
<h3 class="fn" id="glGetVertexAttribPointerv"><a name="glGetVertexAttribPointerv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetVertexAttribPointerv</span>(<span class="type">GLuint</span> <i>index</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">void</span> **<i>pointer</i>)</h3>
<p>Convenience function that calls glGetVertexAttribPointerv(<i>index</i>, <i>pname</i>, <i>pointer</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttribPointerv.xhtml">glGetVertexAttribPointerv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetVertexAttribPointerv -->
<!-- $$$glGetVertexAttribfv[overload1]$$$glGetVertexAttribfvGLuintGLenumGLfloat* -->
<h3 class="fn" id="glGetVertexAttribfv"><a name="glGetVertexAttribfv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetVertexAttribfv</span>(<span class="type">GLuint</span> <i>index</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLfloat</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetVertexAttribfv(<i>index</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttribfv.xhtml">glGetVertexAttribfv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetVertexAttribfv -->
<!-- $$$glGetVertexAttribiv[overload1]$$$glGetVertexAttribivGLuintGLenumGLint* -->
<h3 class="fn" id="glGetVertexAttribiv"><a name="glGetVertexAttribiv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glGetVertexAttribiv</span>(<span class="type">GLuint</span> <i>index</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glGetVertexAttribiv(<i>index</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGetVertexAttribiv.xhtml">glGetVertexAttribiv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glGetVertexAttribiv -->
<!-- $$$glHint[overload1]$$$glHintGLenumGLenum -->
<h3 class="fn" id="glHint"><a name="glHint"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glHint</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>mode</i>)</h3>
<p>Convenience function that calls glHint(<i>target</i>, <i>mode</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glHint.xhtml">glHint()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glHint -->
<!-- $$$glIsBuffer[overload1]$$$glIsBufferGLuint -->
<h3 class="fn" id="glIsBuffer"><a name="glIsBuffer"></a><span class="type">GLboolean</span> QOpenGLFunctions::<span class="name">glIsBuffer</span>(<span class="type">GLuint</span> <i>buffer</i>)</h3>
<p>Convenience function that calls glIsBuffer(<i>buffer</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsBuffer.xhtml">glIsBuffer()</a>.</p>
<!-- @@@glIsBuffer -->
<!-- $$$glIsEnabled[overload1]$$$glIsEnabledGLenum -->
<h3 class="fn" id="glIsEnabled"><a name="glIsEnabled"></a><span class="type">GLboolean</span> QOpenGLFunctions::<span class="name">glIsEnabled</span>(<span class="type">GLenum</span> <i>cap</i>)</h3>
<p>Convenience function that calls glIsEnabled(<i>cap</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsEnabled.xhtml">glIsEnabled()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glIsEnabled -->
<!-- $$$glIsFramebuffer[overload1]$$$glIsFramebufferGLuint -->
<h3 class="fn" id="glIsFramebuffer"><a name="glIsFramebuffer"></a><span class="type">GLboolean</span> QOpenGLFunctions::<span class="name">glIsFramebuffer</span>(<span class="type">GLuint</span> <i>framebuffer</i>)</h3>
<p>Convenience function that calls glIsFramebuffer(<i>framebuffer</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsFramebuffer.xhtml">glIsFramebuffer()</a>.</p>
<!-- @@@glIsFramebuffer -->
<!-- $$$glIsProgram[overload1]$$$glIsProgramGLuint -->
<h3 class="fn" id="glIsProgram"><a name="glIsProgram"></a><span class="type">GLboolean</span> QOpenGLFunctions::<span class="name">glIsProgram</span>(<span class="type">GLuint</span> <i>program</i>)</h3>
<p>Convenience function that calls glIsProgram(<i>program</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsProgram.xhtml">glIsProgram()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glIsProgram -->
<!-- $$$glIsRenderbuffer[overload1]$$$glIsRenderbufferGLuint -->
<h3 class="fn" id="glIsRenderbuffer"><a name="glIsRenderbuffer"></a><span class="type">GLboolean</span> QOpenGLFunctions::<span class="name">glIsRenderbuffer</span>(<span class="type">GLuint</span> <i>renderbuffer</i>)</h3>
<p>Convenience function that calls glIsRenderbuffer(<i>renderbuffer</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsRenderbuffer.xhtml">glIsRenderbuffer()</a>.</p>
<!-- @@@glIsRenderbuffer -->
<!-- $$$glIsShader[overload1]$$$glIsShaderGLuint -->
<h3 class="fn" id="glIsShader"><a name="glIsShader"></a><span class="type">GLboolean</span> QOpenGLFunctions::<span class="name">glIsShader</span>(<span class="type">GLuint</span> <i>shader</i>)</h3>
<p>Convenience function that calls glIsShader(<i>shader</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsShader.xhtml">glIsShader()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glIsShader -->
<!-- $$$glIsTexture[overload1]$$$glIsTextureGLuint -->
<h3 class="fn" id="glIsTexture"><a name="glIsTexture"></a><span class="type">GLboolean</span> QOpenGLFunctions::<span class="name">glIsTexture</span>(<span class="type">GLuint</span> <i>texture</i>)</h3>
<p>Convenience function that calls glIsTexture(<i>texture</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsTexture.xhtml">glIsTexture()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glIsTexture -->
<!-- $$$glLineWidth[overload1]$$$glLineWidthGLfloat -->
<h3 class="fn" id="glLineWidth"><a name="glLineWidth"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glLineWidth</span>(<span class="type">GLfloat</span> <i>width</i>)</h3>
<p>Convenience function that calls glLineWidth(<i>width</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glLineWidth.xhtml">glLineWidth()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glLineWidth -->
<!-- $$$glLinkProgram[overload1]$$$glLinkProgramGLuint -->
<h3 class="fn" id="glLinkProgram"><a name="glLinkProgram"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glLinkProgram</span>(<span class="type">GLuint</span> <i>program</i>)</h3>
<p>Convenience function that calls glLinkProgram(<i>program</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glLinkProgram.xhtml">glLinkProgram()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glLinkProgram -->
<!-- $$$glPixelStorei[overload1]$$$glPixelStoreiGLenumGLint -->
<h3 class="fn" id="glPixelStorei"><a name="glPixelStorei"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glPixelStorei</span>(<span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> <i>param</i>)</h3>
<p>Convenience function that calls glPixelStorei(<i>pname</i>, <i>param</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPixelStorei.xhtml">glPixelStorei()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glPixelStorei -->
<!-- $$$glPolygonOffset[overload1]$$$glPolygonOffsetGLfloatGLfloat -->
<h3 class="fn" id="glPolygonOffset"><a name="glPolygonOffset"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glPolygonOffset</span>(<span class="type">GLfloat</span> <i>factor</i>, <span class="type">GLfloat</span> <i>units</i>)</h3>
<p>Convenience function that calls glPolygonOffset(<i>factor</i>, <i>units</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glPolygonOffset.xhtml">glPolygonOffset()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glPolygonOffset -->
<!-- $$$glReadPixels[overload1]$$$glReadPixelsGLintGLintGLsizeiGLsizeiGLenumGLenumGLvoid* -->
<h3 class="fn" id="glReadPixels"><a name="glReadPixels"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glReadPixels</span>(<span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>, <span class="type">GLenum</span> <i>format</i>, <span class="type">GLenum</span> <i>type</i>, <span class="type">GLvoid</span> *<i>pixels</i>)</h3>
<p>Convenience function that calls glReadPixels(<i>x</i>, <i>y</i>, <i>width</i>, <i>height</i>, <i>format</i>, <i>type</i>, <i>pixels</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glReadPixels.xhtml">glReadPixels()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glReadPixels -->
<!-- $$$glReleaseShaderCompiler[overload1]$$$glReleaseShaderCompiler -->
<h3 class="fn" id="glReleaseShaderCompiler"><a name="glReleaseShaderCompiler"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glReleaseShaderCompiler</span>()</h3>
<p>Convenience function that calls glReleaseShaderCompiler().</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glReleaseShaderCompiler.xhtml">glReleaseShaderCompiler()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glReleaseShaderCompiler -->
<!-- $$$glRenderbufferStorage[overload1]$$$glRenderbufferStorageGLenumGLenumGLsizeiGLsizei -->
<h3 class="fn" id="glRenderbufferStorage"><a name="glRenderbufferStorage"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glRenderbufferStorage</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>internalformat</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>)</h3>
<p>Convenience function that calls glRenderbufferStorage(<i>target</i>, <i>internalformat</i>, <i>width</i>, <i>height</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glRenderbufferStorage.xhtml">glRenderbufferStorage()</a>.</p>
<!-- @@@glRenderbufferStorage -->
<!-- $$$glSampleCoverage[overload1]$$$glSampleCoverageGLclampfGLboolean -->
<h3 class="fn" id="glSampleCoverage"><a name="glSampleCoverage"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glSampleCoverage</span>(<span class="type">GLclampf</span> <i>value</i>, <span class="type">GLboolean</span> <i>invert</i>)</h3>
<p>Convenience function that calls glSampleCoverage(<i>value</i>, <i>invert</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glSampleCoverage.xhtml">glSampleCoverage()</a>.</p>
<!-- @@@glSampleCoverage -->
<!-- $$$glScissor[overload1]$$$glScissorGLintGLintGLsizeiGLsizei -->
<h3 class="fn" id="glScissor"><a name="glScissor"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glScissor</span>(<span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>)</h3>
<p>Convenience function that calls glScissor(<i>x</i>, <i>y</i>, <i>width</i>, <i>height</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glScissor.xhtml">glScissor()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glScissor -->
<!-- $$$glShaderBinary[overload1]$$$glShaderBinaryGLintconstGLuint*GLenumconstvoid*GLint -->
<h3 class="fn" id="glShaderBinary"><a name="glShaderBinary"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glShaderBinary</span>(<span class="type">GLint</span> <i>n</i>, const <span class="type">GLuint</span> *<i>shaders</i>, <span class="type">GLenum</span> <i>binaryformat</i>, const <span class="type">void</span> *<i>binary</i>, <span class="type">GLint</span> <i>length</i>)</h3>
<p>Convenience function that calls glShaderBinary(<i>n</i>, <i>shaders</i>, <i>binaryformat</i>, <i>binary</i>, <i>length</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glShaderBinary.xhtml">glShaderBinary()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glShaderBinary -->
<!-- $$$glShaderSource[overload1]$$$glShaderSourceGLuintGLsizeiconstchar**constGLint* -->
<h3 class="fn" id="glShaderSource"><a name="glShaderSource"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glShaderSource</span>(<span class="type">GLuint</span> <i>shader</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">char</span> **<i>string</i>, const <span class="type">GLint</span> *<i>length</i>)</h3>
<p>Convenience function that calls glShaderSource(<i>shader</i>, <i>count</i>, <i>string</i>, <i>length</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glShaderSource.xhtml">glShaderSource()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glShaderSource -->
<!-- $$$glStencilFunc[overload1]$$$glStencilFuncGLenumGLintGLuint -->
<h3 class="fn" id="glStencilFunc"><a name="glStencilFunc"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glStencilFunc</span>(<span class="type">GLenum</span> <i>func</i>, <span class="type">GLint</span> <i>ref</i>, <span class="type">GLuint</span> <i>mask</i>)</h3>
<p>Convenience function that calls glStencilFunc(<i>func</i>, <i>ref</i>, <i>mask</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilFunc.xhtml">glStencilFunc()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glStencilFunc -->
<!-- $$$glStencilFuncSeparate[overload1]$$$glStencilFuncSeparateGLenumGLenumGLintGLuint -->
<h3 class="fn" id="glStencilFuncSeparate"><a name="glStencilFuncSeparate"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glStencilFuncSeparate</span>(<span class="type">GLenum</span> <i>face</i>, <span class="type">GLenum</span> <i>func</i>, <span class="type">GLint</span> <i>ref</i>, <span class="type">GLuint</span> <i>mask</i>)</h3>
<p>Convenience function that calls glStencilFuncSeparate(<i>face</i>, <i>func</i>, <i>ref</i>, <i>mask</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilFuncSeparate.xhtml">glStencilFuncSeparate()</a>.</p>
<!-- @@@glStencilFuncSeparate -->
<!-- $$$glStencilMask[overload1]$$$glStencilMaskGLuint -->
<h3 class="fn" id="glStencilMask"><a name="glStencilMask"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glStencilMask</span>(<span class="type">GLuint</span> <i>mask</i>)</h3>
<p>Convenience function that calls glStencilMask(<i>mask</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilMask.xhtml">glStencilMask()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glStencilMask -->
<!-- $$$glStencilMaskSeparate[overload1]$$$glStencilMaskSeparateGLenumGLuint -->
<h3 class="fn" id="glStencilMaskSeparate"><a name="glStencilMaskSeparate"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glStencilMaskSeparate</span>(<span class="type">GLenum</span> <i>face</i>, <span class="type">GLuint</span> <i>mask</i>)</h3>
<p>Convenience function that calls glStencilMaskSeparate(<i>face</i>, <i>mask</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilMaskSeparate.xhtml">glStencilMaskSeparate()</a>.</p>
<!-- @@@glStencilMaskSeparate -->
<!-- $$$glStencilOp[overload1]$$$glStencilOpGLenumGLenumGLenum -->
<h3 class="fn" id="glStencilOp"><a name="glStencilOp"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glStencilOp</span>(<span class="type">GLenum</span> <i>fail</i>, <span class="type">GLenum</span> <i>zfail</i>, <span class="type">GLenum</span> <i>zpass</i>)</h3>
<p>Convenience function that calls glStencilOp(<i>fail</i>, <i>zfail</i>, <i>zpass</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilOp.xhtml">glStencilOp()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glStencilOp -->
<!-- $$$glStencilOpSeparate[overload1]$$$glStencilOpSeparateGLenumGLenumGLenumGLenum -->
<h3 class="fn" id="glStencilOpSeparate"><a name="glStencilOpSeparate"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glStencilOpSeparate</span>(<span class="type">GLenum</span> <i>face</i>, <span class="type">GLenum</span> <i>fail</i>, <span class="type">GLenum</span> <i>zfail</i>, <span class="type">GLenum</span> <i>zpass</i>)</h3>
<p>Convenience function that calls glStencilOpSeparate(<i>face</i>, <i>fail</i>, <i>zfail</i>, <i>zpass</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glStencilOpSeparate.xhtml">glStencilOpSeparate()</a>.</p>
<!-- @@@glStencilOpSeparate -->
<!-- $$$glTexImage2D[overload1]$$$glTexImage2DGLenumGLintGLintGLsizeiGLsizeiGLintGLenumGLenumconstGLvoid* -->
<h3 class="fn" id="glTexImage2D"><a name="glTexImage2D"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glTexImage2D</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLint</span> <i>level</i>, <span class="type">GLint</span> <i>internalformat</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>, <span class="type">GLint</span> <i>border</i>, <span class="type">GLenum</span> <i>format</i>, <span class="type">GLenum</span> <i>type</i>, const <span class="type">GLvoid</span> *<i>pixels</i>)</h3>
<p>Convenience function that calls glTexImage2D(<i>target</i>, <i>level</i>, <i>internalformat</i>, <i>width</i>, <i>height</i>, <i>border</i>, <i>format</i>, <i>type</i>, <i>pixels</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexImage2D.xhtml">glTexImage2D()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glTexImage2D -->
<!-- $$$glTexParameterf[overload1]$$$glTexParameterfGLenumGLenumGLfloat -->
<h3 class="fn" id="glTexParameterf"><a name="glTexParameterf"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glTexParameterf</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLfloat</span> <i>param</i>)</h3>
<p>Convenience function that calls glTexParameterf(<i>target</i>, <i>pname</i>, <i>param</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml">glTexParameterf()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glTexParameterf -->
<!-- $$$glTexParameterfv[overload1]$$$glTexParameterfvGLenumGLenumconstGLfloat* -->
<h3 class="fn" id="glTexParameterfv"><a name="glTexParameterfv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glTexParameterfv</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, const <span class="type">GLfloat</span> *<i>params</i>)</h3>
<p>Convenience function that calls glTexParameterfv(<i>target</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml">glTexParameterfv()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glTexParameterfv -->
<!-- $$$glTexParameteri[overload1]$$$glTexParameteriGLenumGLenumGLint -->
<h3 class="fn" id="glTexParameteri"><a name="glTexParameteri"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glTexParameteri</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, <span class="type">GLint</span> <i>param</i>)</h3>
<p>Convenience function that calls glTexParameteri(<i>target</i>, <i>pname</i>, <i>param</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml">glTexParameteri()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glTexParameteri -->
<!-- $$$glTexParameteriv[overload1]$$$glTexParameterivGLenumGLenumconstGLint* -->
<h3 class="fn" id="glTexParameteriv"><a name="glTexParameteriv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glTexParameteriv</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLenum</span> <i>pname</i>, const <span class="type">GLint</span> *<i>params</i>)</h3>
<p>Convenience function that calls glTexParameteriv(<i>target</i>, <i>pname</i>, <i>params</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml">glTexParameteriv()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glTexParameteriv -->
<!-- $$$glTexSubImage2D[overload1]$$$glTexSubImage2DGLenumGLintGLintGLintGLsizeiGLsizeiGLenumGLenumconstGLvoid* -->
<h3 class="fn" id="glTexSubImage2D"><a name="glTexSubImage2D"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glTexSubImage2D</span>(<span class="type">GLenum</span> <i>target</i>, <span class="type">GLint</span> <i>level</i>, <span class="type">GLint</span> <i>xoffset</i>, <span class="type">GLint</span> <i>yoffset</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>, <span class="type">GLenum</span> <i>format</i>, <span class="type">GLenum</span> <i>type</i>, const <span class="type">GLvoid</span> *<i>pixels</i>)</h3>
<p>Convenience function that calls glTexSubImage2D(<i>target</i>, <i>level</i>, <i>xoffset</i>, <i>yoffset</i>, <i>width</i>, <i>height</i>, <i>format</i>, <i>type</i>, <i>pixels</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexSubImage2D.xhtml">glTexSubImage2D()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glTexSubImage2D -->
<!-- $$$glUniform1f[overload1]$$$glUniform1fGLintGLfloat -->
<h3 class="fn" id="glUniform1f"><a name="glUniform1f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform1f</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLfloat</span> <i>x</i>)</h3>
<p>Convenience function that calls glUniform1f(<i>location</i>, <i>x</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform1f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform1f -->
<!-- $$$glUniform1fv[overload1]$$$glUniform1fvGLintGLsizeiconstGLfloat* -->
<h3 class="fn" id="glUniform1fv"><a name="glUniform1fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform1fv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLfloat</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform1fv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform1fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform1fv -->
<!-- $$$glUniform1i[overload1]$$$glUniform1iGLintGLint -->
<h3 class="fn" id="glUniform1i"><a name="glUniform1i"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform1i</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLint</span> <i>x</i>)</h3>
<p>Convenience function that calls glUniform1i(<i>location</i>, <i>x</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform1i()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform1i -->
<!-- $$$glUniform1iv[overload1]$$$glUniform1ivGLintGLsizeiconstGLint* -->
<h3 class="fn" id="glUniform1iv"><a name="glUniform1iv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform1iv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLint</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform1iv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform1iv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform1iv -->
<!-- $$$glUniform2f[overload1]$$$glUniform2fGLintGLfloatGLfloat -->
<h3 class="fn" id="glUniform2f"><a name="glUniform2f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform2f</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLfloat</span> <i>x</i>, <span class="type">GLfloat</span> <i>y</i>)</h3>
<p>Convenience function that calls glUniform2f(<i>location</i>, <i>x</i>, <i>y</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform2f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform2f -->
<!-- $$$glUniform2fv[overload1]$$$glUniform2fvGLintGLsizeiconstGLfloat* -->
<h3 class="fn" id="glUniform2fv"><a name="glUniform2fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform2fv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLfloat</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform2fv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform2fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform2fv -->
<!-- $$$glUniform2i[overload1]$$$glUniform2iGLintGLintGLint -->
<h3 class="fn" id="glUniform2i"><a name="glUniform2i"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform2i</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>)</h3>
<p>Convenience function that calls glUniform2i(<i>location</i>, <i>x</i>, <i>y</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform2i()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform2i -->
<!-- $$$glUniform2iv[overload1]$$$glUniform2ivGLintGLsizeiconstGLint* -->
<h3 class="fn" id="glUniform2iv"><a name="glUniform2iv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform2iv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLint</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform2iv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform2iv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform2iv -->
<!-- $$$glUniform3f[overload1]$$$glUniform3fGLintGLfloatGLfloatGLfloat -->
<h3 class="fn" id="glUniform3f"><a name="glUniform3f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform3f</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLfloat</span> <i>x</i>, <span class="type">GLfloat</span> <i>y</i>, <span class="type">GLfloat</span> <i>z</i>)</h3>
<p>Convenience function that calls glUniform3f(<i>location</i>, <i>x</i>, <i>y</i>, <i>z</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform3f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform3f -->
<!-- $$$glUniform3fv[overload1]$$$glUniform3fvGLintGLsizeiconstGLfloat* -->
<h3 class="fn" id="glUniform3fv"><a name="glUniform3fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform3fv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLfloat</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform3fv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform3fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform3fv -->
<!-- $$$glUniform3i[overload1]$$$glUniform3iGLintGLintGLintGLint -->
<h3 class="fn" id="glUniform3i"><a name="glUniform3i"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform3i</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>, <span class="type">GLint</span> <i>z</i>)</h3>
<p>Convenience function that calls glUniform3i(<i>location</i>, <i>x</i>, <i>y</i>, <i>z</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform3i()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform3i -->
<!-- $$$glUniform3iv[overload1]$$$glUniform3ivGLintGLsizeiconstGLint* -->
<h3 class="fn" id="glUniform3iv"><a name="glUniform3iv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform3iv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLint</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform3iv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform3iv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform3iv -->
<!-- $$$glUniform4f[overload1]$$$glUniform4fGLintGLfloatGLfloatGLfloatGLfloat -->
<h3 class="fn" id="glUniform4f"><a name="glUniform4f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform4f</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLfloat</span> <i>x</i>, <span class="type">GLfloat</span> <i>y</i>, <span class="type">GLfloat</span> <i>z</i>, <span class="type">GLfloat</span> <i>w</i>)</h3>
<p>Convenience function that calls glUniform4f(<i>location</i>, <i>x</i>, <i>y</i>, <i>z</i>, <i>w</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform4f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform4f -->
<!-- $$$glUniform4fv[overload1]$$$glUniform4fvGLintGLsizeiconstGLfloat* -->
<h3 class="fn" id="glUniform4fv"><a name="glUniform4fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform4fv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLfloat</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform4fv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform4fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform4fv -->
<!-- $$$glUniform4i[overload1]$$$glUniform4iGLintGLintGLintGLintGLint -->
<h3 class="fn" id="glUniform4i"><a name="glUniform4i"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform4i</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>, <span class="type">GLint</span> <i>z</i>, <span class="type">GLint</span> <i>w</i>)</h3>
<p>Convenience function that calls glUniform4i(<i>location</i>, <i>x</i>, <i>y</i>, <i>z</i>, <i>w</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform4i()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform4i -->
<!-- $$$glUniform4iv[overload1]$$$glUniform4ivGLintGLsizeiconstGLint* -->
<h3 class="fn" id="glUniform4iv"><a name="glUniform4iv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniform4iv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, const <span class="type">GLint</span> *<i>v</i>)</h3>
<p>Convenience function that calls glUniform4iv(<i>location</i>, <i>count</i>, <i>v</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniform4iv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniform4iv -->
<!-- $$$glUniformMatrix2fv[overload1]$$$glUniformMatrix2fvGLintGLsizeiGLbooleanconstGLfloat* -->
<h3 class="fn" id="glUniformMatrix2fv"><a name="glUniformMatrix2fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniformMatrix2fv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, <span class="type">GLboolean</span> <i>transpose</i>, const <span class="type">GLfloat</span> *<i>value</i>)</h3>
<p>Convenience function that calls glUniformMatrix2fv(<i>location</i>, <i>count</i>, <i>transpose</i>, <i>value</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniformMatrix2fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniformMatrix2fv -->
<!-- $$$glUniformMatrix3fv[overload1]$$$glUniformMatrix3fvGLintGLsizeiGLbooleanconstGLfloat* -->
<h3 class="fn" id="glUniformMatrix3fv"><a name="glUniformMatrix3fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniformMatrix3fv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, <span class="type">GLboolean</span> <i>transpose</i>, const <span class="type">GLfloat</span> *<i>value</i>)</h3>
<p>Convenience function that calls glUniformMatrix3fv(<i>location</i>, <i>count</i>, <i>transpose</i>, <i>value</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniformMatrix3fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniformMatrix3fv -->
<!-- $$$glUniformMatrix4fv[overload1]$$$glUniformMatrix4fvGLintGLsizeiGLbooleanconstGLfloat* -->
<h3 class="fn" id="glUniformMatrix4fv"><a name="glUniformMatrix4fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUniformMatrix4fv</span>(<span class="type">GLint</span> <i>location</i>, <span class="type">GLsizei</span> <i>count</i>, <span class="type">GLboolean</span> <i>transpose</i>, const <span class="type">GLfloat</span> *<i>value</i>)</h3>
<p>Convenience function that calls glUniformMatrix4fv(<i>location</i>, <i>count</i>, <i>transpose</i>, <i>value</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUniform.xhtml">glUniformMatrix4fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUniformMatrix4fv -->
<!-- $$$glUseProgram[overload1]$$$glUseProgramGLuint -->
<h3 class="fn" id="glUseProgram"><a name="glUseProgram"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glUseProgram</span>(<span class="type">GLuint</span> <i>program</i>)</h3>
<p>Convenience function that calls glUseProgram(<i>program</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glUseProgram.xhtml">glUseProgram()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glUseProgram -->
<!-- $$$glValidateProgram[overload1]$$$glValidateProgramGLuint -->
<h3 class="fn" id="glValidateProgram"><a name="glValidateProgram"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glValidateProgram</span>(<span class="type">GLuint</span> <i>program</i>)</h3>
<p>Convenience function that calls glValidateProgram(<i>program</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glValidateProgram.xhtml">glValidateProgram()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glValidateProgram -->
<!-- $$$glVertexAttrib1f[overload1]$$$glVertexAttrib1fGLuintGLfloat -->
<h3 class="fn" id="glVertexAttrib1f"><a name="glVertexAttrib1f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib1f</span>(<span class="type">GLuint</span> <i>indx</i>, <span class="type">GLfloat</span> <i>x</i>)</h3>
<p>Convenience function that calls glVertexAttrib1f(<i>indx</i>, <i>x</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib1f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib1f -->
<!-- $$$glVertexAttrib1fv[overload1]$$$glVertexAttrib1fvGLuintconstGLfloat* -->
<h3 class="fn" id="glVertexAttrib1fv"><a name="glVertexAttrib1fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib1fv</span>(<span class="type">GLuint</span> <i>indx</i>, const <span class="type">GLfloat</span> *<i>values</i>)</h3>
<p>Convenience function that calls glVertexAttrib1fv(<i>indx</i>, <i>values</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib1fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib1fv -->
<!-- $$$glVertexAttrib2f[overload1]$$$glVertexAttrib2fGLuintGLfloatGLfloat -->
<h3 class="fn" id="glVertexAttrib2f"><a name="glVertexAttrib2f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib2f</span>(<span class="type">GLuint</span> <i>indx</i>, <span class="type">GLfloat</span> <i>x</i>, <span class="type">GLfloat</span> <i>y</i>)</h3>
<p>Convenience function that calls glVertexAttrib2f(<i>indx</i>, <i>x</i>, <i>y</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib2f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib2f -->
<!-- $$$glVertexAttrib2fv[overload1]$$$glVertexAttrib2fvGLuintconstGLfloat* -->
<h3 class="fn" id="glVertexAttrib2fv"><a name="glVertexAttrib2fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib2fv</span>(<span class="type">GLuint</span> <i>indx</i>, const <span class="type">GLfloat</span> *<i>values</i>)</h3>
<p>Convenience function that calls glVertexAttrib2fv(<i>indx</i>, <i>values</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib2fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib2fv -->
<!-- $$$glVertexAttrib3f[overload1]$$$glVertexAttrib3fGLuintGLfloatGLfloatGLfloat -->
<h3 class="fn" id="glVertexAttrib3f"><a name="glVertexAttrib3f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib3f</span>(<span class="type">GLuint</span> <i>indx</i>, <span class="type">GLfloat</span> <i>x</i>, <span class="type">GLfloat</span> <i>y</i>, <span class="type">GLfloat</span> <i>z</i>)</h3>
<p>Convenience function that calls glVertexAttrib3f(<i>indx</i>, <i>x</i>, <i>y</i>, <i>z</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib3f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib3f -->
<!-- $$$glVertexAttrib3fv[overload1]$$$glVertexAttrib3fvGLuintconstGLfloat* -->
<h3 class="fn" id="glVertexAttrib3fv"><a name="glVertexAttrib3fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib3fv</span>(<span class="type">GLuint</span> <i>indx</i>, const <span class="type">GLfloat</span> *<i>values</i>)</h3>
<p>Convenience function that calls glVertexAttrib3fv(<i>indx</i>, <i>values</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib3fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib3fv -->
<!-- $$$glVertexAttrib4f[overload1]$$$glVertexAttrib4fGLuintGLfloatGLfloatGLfloatGLfloat -->
<h3 class="fn" id="glVertexAttrib4f"><a name="glVertexAttrib4f"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib4f</span>(<span class="type">GLuint</span> <i>indx</i>, <span class="type">GLfloat</span> <i>x</i>, <span class="type">GLfloat</span> <i>y</i>, <span class="type">GLfloat</span> <i>z</i>, <span class="type">GLfloat</span> <i>w</i>)</h3>
<p>Convenience function that calls glVertexAttrib4f(<i>indx</i>, <i>x</i>, <i>y</i>, <i>z</i>, <i>w</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib4f()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib4f -->
<!-- $$$glVertexAttrib4fv[overload1]$$$glVertexAttrib4fvGLuintconstGLfloat* -->
<h3 class="fn" id="glVertexAttrib4fv"><a name="glVertexAttrib4fv"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttrib4fv</span>(<span class="type">GLuint</span> <i>indx</i>, const <span class="type">GLfloat</span> *<i>values</i>)</h3>
<p>Convenience function that calls glVertexAttrib4fv(<i>indx</i>, <i>values</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttrib.xhtml">glVertexAttrib4fv()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttrib4fv -->
<!-- $$$glVertexAttribPointer[overload1]$$$glVertexAttribPointerGLuintGLintGLenumGLbooleanGLsizeiconstvoid* -->
<h3 class="fn" id="glVertexAttribPointer"><a name="glVertexAttribPointer"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glVertexAttribPointer</span>(<span class="type">GLuint</span> <i>indx</i>, <span class="type">GLint</span> <i>size</i>, <span class="type">GLenum</span> <i>type</i>, <span class="type">GLboolean</span> <i>normalized</i>, <span class="type">GLsizei</span> <i>stride</i>, const <span class="type">void</span> *<i>ptr</i>)</h3>
<p>Convenience function that calls glVertexAttribPointer(<i>indx</i>, <i>size</i>, <i>type</i>, <i>normalized</i>, <i>stride</i>, <i>ptr</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glVertexAttribPointer.xhtml">glVertexAttribPointer()</a>.</p>
<p>This convenience function will do nothing on OpenGL ES 1.x systems.</p>
<!-- @@@glVertexAttribPointer -->
<!-- $$$glViewport[overload1]$$$glViewportGLintGLintGLsizeiGLsizei -->
<h3 class="fn" id="glViewport"><a name="glViewport"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">glViewport</span>(<span class="type">GLint</span> <i>x</i>, <span class="type">GLint</span> <i>y</i>, <span class="type">GLsizei</span> <i>width</i>, <span class="type">GLsizei</span> <i>height</i>)</h3>
<p>Convenience function that calls glViewport(<i>x</i>, <i>y</i>, <i>width</i>, <i>height</i>).</p>
<p>For more information, see the OpenGL ES 2.0 documentation for <a href="https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glViewport.xhtml">glViewport()</a>.</p>
<p>This function was introduced in Qt 5.3.</p>
<!-- @@@glViewport -->
<!-- $$$hasOpenGLFeature[overload1]$$$hasOpenGLFeatureQOpenGLFunctions::OpenGLFeature -->
<h3 class="fn" id="hasOpenGLFeature"><a name="hasOpenGLFeature"></a><span class="type">bool</span> QOpenGLFunctions::<span class="name">hasOpenGLFeature</span>(<span class="type"><a href="qopenglfunctions.html#OpenGLFeature-enum">QOpenGLFunctions::OpenGLFeature</a></span> <i>feature</i>) const</h3>
<p>Returns <code>true</code> if <i>feature</i> is present on this system's OpenGL implementation; false otherwise.</p>
<p>It is assumed that the <a href="qopenglcontext.html">QOpenGLContext</a> associated with this function resolver is current.</p>
<p><b>See also </b><a href="qopenglfunctions.html#openGLFeatures">openGLFeatures</a>().</p>
<!-- @@@hasOpenGLFeature -->
<!-- $$$initializeOpenGLFunctions[overload1]$$$initializeOpenGLFunctions -->
<h3 class="fn" id="initializeOpenGLFunctions"><a name="initializeOpenGLFunctions"></a><span class="type">void</span> QOpenGLFunctions::<span class="name">initializeOpenGLFunctions</span>()</h3>
<p>Initializes OpenGL function resolution for the current context.</p>
<p>After calling this function, the <a href="qopenglfunctions.html">QOpenGLFunctions</a> object can only be used with the current context and other contexts that share with it. Call initializeOpenGLFunctions() again to change the object's context association.</p>
<!-- @@@initializeOpenGLFunctions -->
<!-- $$$openGLFeatures[overload1]$$$openGLFeatures -->
<h3 class="fn" id="openGLFeatures"><a name="openGLFeatures"></a><span class="type"><a href="qopenglfunctions.html#OpenGLFeature-enum">QOpenGLFunctions::OpenGLFeatures</a></span> QOpenGLFunctions::<span class="name">openGLFeatures</span>() const</h3>
<p>Returns the set of features that are present on this system's OpenGL implementation.</p>
<p>It is assumed that the <a href="qopenglcontext.html">QOpenGLContext</a> associated with this function resolver is current.</p>
<p><b>See also </b><a href="qopenglfunctions.html#hasOpenGLFeature">hasOpenGLFeature</a>().</p>
<!-- @@@openGLFeatures -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
